#58740 closed defect (fixed)
nettle @3.5.1: error: invalid instruction mnemonic 'sha1rnds4'
Reported by: | kencu (Ken) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | lion snowleopard | Cc: | mrkapqa |
Port: | nettle |
Description
:info:build /usr/bin/clang -I. -I/opt/local/include -DHAVE_CONFIG_H -pipe -Os -arch x86_64 -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sha1-compress-2.o -MD -MP -MF sha1-compress-2.o.d -c sha1-compress-2.s :info:build /usr/bin/m4 ./asm.m4 machine.m4 config.m4 sha256-compress-2.asm >sha256-compress-2.s :info:build sha1-compress-2.s:74:2: error: invalid instruction mnemonic 'sha1rnds4' :info:build sha1rnds4 $0, %xmm5, %xmm4 :info:build ^~~~~~~~~ :info:build sha1-compress-2.s:79:2: error: invalid instruction mnemonic 'sha1nexte' :info:build sha1nexte %xmm1, %xmm6 :info:build ^~~~~~~~~
specifying a newer compiler fixes build
Attachments (1)
Change History (7)
Changed 5 years ago by kencu (Ken)
Attachment: | nettle-fail-107.log added |
---|
comment:1 follow-up: 4 Changed 5 years ago by kencu (Ken)
comment:2 Changed 5 years ago by kencu (Ken)
comment:3 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mrkapqa added |
---|---|
Keywords: | snowleopard added |
Summary: | nettle @3.5.1: build fails on 10.7 due to: sha1-compress-2.s:74:2: error: invalid instruction mnemonic 'sha1rnds4 → nettle @3.5.1: error: invalid instruction mnemonic 'sha1rnds4' |
Has duplicate #58745.
comment:4 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to kencu:
this incantation fixes it for Intel systems at least.
Since the error occurs when processing the x86_64 assembly, only x86_64 systems should be affected. The build already succeeds on Snow Leopard i386 before this change.
comment:5 Changed 5 years ago by kencu (Ken)
I will investigate further to see what the minimal patch might be for this fix.
comment:6 Changed 5 years ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
this incantation fixes it for Intel systems at least.