Bug 10251 - error: 'asm' operand has impossible constraints using -O2 on android x86
Summary: error: 'asm' operand has impossible constraints using -O2 on android x86
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Networking (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-28 10:18 UTC by Gianluigi Tiesi
Modified: 2017-08-28 11:42 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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