Bug 10251

Summary: error: 'asm' operand has impossible constraints using -O2 on android x86
Product: Busybox Reporter: Gianluigi Tiesi <sherpya>
Component: NetworkingAssignee: unassigned
Status: RESOLVED FIXED    
Severity: minor CC: busybox-cvs, sherpya
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Host: Target:
Build:

Description Gianluigi Tiesi 2017-08-28 10:18:55 UTC
If I try to build busybox for android x86 (gcc 4.9) I get:

networking/tls_pstm_montgomery_reduce.c: In function 'pstm_montgomery_reduce':
networking/tls_pstm_montgomery_reduce.c:66:1: error: 'asm' operand has impossible constraints
 asm(                                                      \
 ^
networking/tls_pstm_montgomery_reduce.c:385:4: note: in expansion of macro 'INNERMUL'
    INNERMUL;
    ^


relaxing to requirement from =r to =g makes the file compilable, the problem does not occur on debian gcc 32bit (4.9)
Comment 1 Denys Vlasenko 2017-08-28 11:42:21 UTC
Fixed in 1.27.2
Please reopen if it actually is not working in 1.27.2