Opened 3 years ago
Closed 6 weeks ago
#64037 closed defect (wontfix)
openssl3 @3.0.0: error: invalid instruction mnemonic 'adcxq'
Reported by: | mascguy (Christopher Nielsen) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | mountainlion | Cc: | fredowski, cjones051073 (Chris Jones), RobK88 |
Port: | openssl3 |
Description (last modified by mascguy (Christopher Nielsen))
I'm seeing the following build failure on my macOS 10.8 VM, with Xcode/CLT 5.1.1:
info:build /usr/bin/clang -I. -Icrypto -Iinclude -Iproviders/implementations/include -Iproviders/common/include -DMD5_ASM -DOPENSSL_BN_ASM_GF2m -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -fPIC -arch x86_64 -pipe -Os -arch x86_64 -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/opt/local/libexec/openssl3/etc/openssl\"" -DENGINESDIR="\"/opt/local/libexec/openssl3/lib/engines-3\"" -DMODULESDIR="\"/opt/local/libexec/openssl3/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -DZLIB -DNDEBUG -I/opt/local/include -MMD -MF crypto/bn/liblegacy-lib-rsaz_exp.d.tmp -MT crypto/bn/liblegacy-lib-rsaz_exp.o -c -o crypto/bn/liblegacy-lib-rsaz_exp.o crypto/bn/rsaz_exp.c :info:build crypto/bn/rsaz-x86_64.s:418:2: error: invalid instruction mnemonic 'adcxq' :info:build adcxq %rcx,%r9 :info:build ^~~~~ [...more of the same...] :info:build adcxq %r/usr/bin/clang -I. -Icrypto -Iinclude -Iproviders/implementations/include -Iproviders/common/include -DMD5_ASM -DOPENSSL_BN_ASM_GF2m -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -fPIC -arch x86_64 -pipe -Os -arch x86_64 -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/opt/local/libexec/openssl3/etc/openssl\"" -DENGINESDIR="\"/opt/local/libexec/openssl3/lib/engines-3\"" -DMODULESDIR="\"/opt/local/libexec/openssl3/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -DZLIB -DNDEBUG -I/opt/local/include -MMD -MF crypto/bn/liblegacy-lib-rsaz_exp_x2.d.tmp -MT crypto/bn/liblegacy-lib-rsaz_exp_x2.o -c -o crypto/bn/liblegacy-lib-rsaz_exp_x2.o crypto/bn/rsaz_exp_x2.c :info:build crypto/bn/rsaz-x86_64.s:1092:2: error: invalid instruction mnemonic 'adcxq' :info:build adcxq %rbx,%r13 :info:build ^~~~~ [...more of the same...]
Note that updating the portfile to blacklist older Xcode clangs solves the issue.
However, given that our 10.8 buildbot is running Xcode 5.1.1 as well - and builds succeed there - thus far I've chalked it up to quirks in my particular 10.8 setup.
Also of note, this port builds successfully on every one of my other macOS VMs - including 10.6 and 10.7, as well as 10.9 through 10.15. It also builds successfully on my physical installations, for 10.12 through 10.15.
Attachments (2)
Change History (17)
comment:1 Changed 3 years ago by mascguy (Christopher Nielsen)
Description: | modified (diff) |
---|
Changed 3 years ago by mascguy (Christopher Nielsen)
Attachment: | openssl3-build-failure-10.8.log.xz added |
---|
comment:2 Changed 3 years ago by cjones051073 (Chris Jones)
comment:3 Changed 3 years ago by cjones051073 (Chris Jones)
Cc: | cjones051073 added |
---|
comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
See #47035 for a previous report of this. Seems like some cases were caused by a mismatch between Xcode and CLT versions, and/or bad clang version matching code in openssl scripts.
comment:5 Changed 2 years ago by barracuda156
It still fails on 10.8.5 with Xcode 5.1.1:
/usr/bin/clang -fPIC -arch x86_64 -pipe -Os -arch x86_64 -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/opt/bootstrap/libexec/openssl3/etc/openssl\"" -DENGINESDIR="\"/opt/bootstrap/libexec/openssl3/lib/engines-3\"" -DMODULESDIR="\"/opt/bootstrap/libexec/openssl3/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -DZLIB -DNDEBUG -I/opt/bootstrap/include -c -o crypto/bn/liblegacy-lib-rsaz-x86_64.o crypto/bn/rsaz-x86_64.s /usr/bin/clang -I. -Icrypto -Iinclude -Iproviders/implementations/include -Iproviders/common/include -DMD5_ASM -DOPENSSL_BN_ASM_GF2m -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -fPIC -arch x86_64 -pipe -Os -arch x86_64 -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/opt/bootstrap/libexec/openssl3/etc/openssl\"" -DENGINESDIR="\"/opt/bootstrap/libexec/openssl3/lib/engines-3\"" -DMODULESDIR="\"/opt/bootstrap/libexec/openssl3/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -DZLIB -DNDEBUG -I/opt/bootstrap/include -MMD -MF crypto/bn/liblegacy-lib-rsaz_exp.d.tmp -MT crypto/bn/liblegacy-lib-rsaz_exp.o -c -o crypto/bn/liblegacy-lib-rsaz_exp.o crypto/bn/rsaz_exp.c crypto/bn/rsaz-x86_64.s:418:2: error: invalid instruction mnemonic 'adcxq' adcxq %rcx,%r9 ^~~~~ crypto/bn/rsaz-x86_64.s:421:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r10 ^~~~~ crypto/bn/rsaz-x86_64.s:424:2: error: invalid instruction mnemonic 'adcxq' adcxq %rcx,%r11 ^~~~~ crypto/bn/rsaz-x86_64.s:427:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r12 ^~~~~ crypto/bn/rsaz-x86_64.s:428:2: error: invalid instruction mnemonic 'adcxq' adcxq %rcx,%r13 ^~~~~ crypto/bn/rsaz-x86_64.s:431:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r14 ^~~~~ crypto/bn/rsaz-x86_64.s:432:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbp,%r15 ^~~~~ crypto/bn/rsaz-x86_64.s:437:2: error: invalid instruction mnemonic 'adoxq' adoxq %r8,%r8 ^~~~~ crypto/bn/rsaz-x86_64.s:438:2: error: invalid instruction mnemonic 'adcxq' adcxq %rdi,%r8 ^~~~~ crypto/bn/rsaz-x86_64.s:439:2: error: invalid instruction mnemonic 'adoxq' adoxq %rbp,%rcx ^~~~~ crypto/bn/rsaz-x86_64.s:440:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbp,%rcx ^~~~~ crypto/bn/rsaz-x86_64.s:447:2: error: invalid instruction mnemonic 'adoxq' adoxq %rax,%r10 ^~~~~ crypto/bn/rsaz-x86_64.s:448:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbx,%r11 ^~~~~ crypto/bn/rsaz-x86_64.s:451:2: error: invalid instruction mnemonic 'adoxq' adoxq %rdi,%r11 ^~~~~ crypto/bn/rsaz-x86_64.s:453:2: error: invalid instruction mnemonic 'adcxq' adcxq %r8,%r12 ^~~~~ crypto/bn/rsaz-x86_64.s:456:2: error: invalid instruction mnemonic 'adoxq' adoxq %rax,%r12 ^~~~~ crypto/bn/rsaz-x86_64.s:457:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbx,%r13 ^~~~~ crypto/bn/rsaz-x86_64.s:460:2: error: invalid instruction mnemonic 'adoxq' adoxq %rdi,%r13 ^~~~~ crypto/bn/rsaz-x86_64.s:461:2: error: invalid instruction mnemonic 'adcxq' adcxq %r8,%r14 ^~~~~ crypto/bn/rsaz-x86_64.s:464:2: error: invalid instruction mnemonic 'adoxq' adoxq %rax,%r14 ^~~~~ crypto/bn/rsaz-x86_64.s:465:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbx,%r15 ^~~~~ crypto/bn/rsaz-x86_64.s:468:2: error: invalid instruction mnemonic 'adoxq' adoxq %rdi,%r15 ^~~~~ crypto/bn/rsaz-x86_64.s:469:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbp,%r8 ^~~~~ crypto/bn/rsaz-x86_64.s:471:2: error: invalid instruction mnemonic 'adoxq' adoxq %rbp,%r8 ^~~~~ crypto/bn/rsaz-x86_64.s:475:2: error: invalid instruction mnemonic 'adoxq' adoxq %r9,%r9 ^~~~~ crypto/bn/rsaz-x86_64.s:477:2: error: invalid instruction mnemonic 'adcxq' adcxq %rcx,%rax ^~~~~ crypto/bn/rsaz-x86_64.s:478:2: error: invalid instruction mnemonic 'adoxq' adoxq %r10,%r10 ^~~~~ crypto/bn/rsaz-x86_64.s:479:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r9 ^~~~~ crypto/bn/rsaz-x86_64.s:480:2: error: invalid instruction mnemonic 'adoxq' adoxq %rbp,%rbx ^~~~~ crypto/bn/rsaz-x86_64.s:481:2: error: invalid instruction mnemonic 'adcxq' adcxq %rdi,%r10 ^~~~~ crypto/bn/rsaz-x86_64.s:482:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbp,%rbx ^~~~~ crypto/bn/rsaz-x86_64.s:489:2: error: invalid instruction mnemonic 'adoxq' adoxq %rdi,%r12 ^~~~~ crypto/bn/rsaz-x86_64.s:490:2: error: invalid instruction mnemonic 'adcxq' adcxq %r9,%r13 ^~~~~ crypto/bn/rsaz-x86_64.s:493:2: error: invalid instruction mnemonic 'adoxq' adoxq %rax,%r13 ^~~~~ crypto/bn/rsaz-x86_64.s:494:2: error: invalid instruction mnemonic 'adcxq' adcxq %rcx,%r14 ^~~~~ crypto/bn/rsaz-x86_64.s:497:2: error: invalid instruction mnemonic 'adoxq' adoxq %rdi,%r14 ^~~~~ crypto/bn/rsaz-x86_64.s:498:2: error: invalid instruction mnemonic 'adcxq' adcxq %r9,%r15 ^~~~~ crypto/bn/rsaz-x86_64.s:501:2: error: invalid instruction mnemonic 'adoxq' adoxq %rax,%r15 ^~~~~ crypto/bn/rsaz-x86_64.s:502:2: error: invalid instruction mnemonic 'adcxq' adcxq %rcx,%r8 ^~~~~ crypto/bn/rsaz-x86_64.s:505:2: error: invalid instruction mnemonic 'adoxq' adoxq %rdi,%r8 ^~~~~ crypto/bn/rsaz-x86_64.s:506:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbp,%r9 ^~~~~ crypto/bn/rsaz-x86_64.s:508:2: error: invalid instruction mnemonic 'adoxq' adoxq %rbp,%r9 ^~~~~ crypto/bn/rsaz-x86_64.s:512:2: error: invalid instruction mnemonic 'adoxq' adoxq %r11,%r11 ^~~~~ crypto/bn/rsaz-x86_64.s:514:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbx,%rax ^~~~~ crypto/bn/rsaz-x86_64.s:515:2: error: invalid instruction mnemonic 'adoxq' adoxq %r12,%r12 ^~~~~ crypto/bn/rsaz-x86_64.s:516:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r11 ^~~~~ crypto/bn/rsaz-x86_64.s:517:2: error: invalid instruction mnemonic 'adoxq' adoxq %rbp,%rcx ^~~~~ crypto/bn/rsaz-x86_64.s:518:2: error: invalid instruction mnemonic 'adcxq' adcxq %rdi,%r12 ^~~~~ crypto/bn/rsaz-x86_64.s:519:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbp,%rcx ^~~~~ crypto/bn/rsaz-x86_64.s:526:2: error: invalid instruction mnemonic 'adoxq' adoxq %rax,%r14 ^~~~~ crypto/bn/rsaz-x86_64.s:527:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbx,%r15 ^~~~~ crypto/bn/rsaz-x86_64.s:530:2: error: invalid instruction mnemonic 'adoxq' adoxq %rdi,%r15 ^~~~~ crypto/bn/rsaz-x86_64.s:531:2: error: invalid instruction mnemonic 'adcxq' adcxq %r10,%r8 ^~~~~ crypto/bn/rsaz-x86_64.s:534:2: error: invalid instruction mnemonic 'adoxq' adoxq %rax,%r8 ^~~~~ crypto/bn/rsaz-x86_64.s:535:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbx,%r9 ^~~~~ crypto/bn/rsaz-x86_64.s:538:2: error: invalid instruction mnemonic 'adoxq' adoxq %rdi,%r9 ^~~~~ crypto/bn/rsaz-x86_64.s:539:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbp,%r10 ^~~~~ crypto/bn/rsaz-x86_64.s:541:2: error: invalid instruction mnemonic 'adoxq' adoxq %rbp,%r10 ^~~~~ crypto/bn/rsaz-x86_64.s:545:2: error: invalid instruction mnemonic 'adoxq' adoxq %r13,%r13 ^~~~~ crypto/bn/rsaz-x86_64.s:547:2: error: invalid instruction mnemonic 'adcxq' adcxq %rcx,%rax ^~~~~ crypto/bn/rsaz-x86_64.s:548:2: error: invalid instruction mnemonic 'adoxq' adoxq %r14,%r14 ^~~~~ crypto/bn/rsaz-x86_64.s:549:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r13 ^~~~~ crypto/bn/rsaz-x86_64.s:550:2: error: invalid instruction mnemonic 'adoxq' adoxq %rbp,%rbx ^~~~~ crypto/bn/rsaz-x86_64.s:551:2: error: invalid instruction mnemonic 'adcxq' adcxq %rdi,%r14 ^~~~~ crypto/bn/rsaz-x86_64.s:552:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbp,%rbx ^~~~~ crypto/bn/rsaz-x86_64.s:559:2: error: invalid instruction mnemonic 'adoxq' adoxq %rdi,%r8 ^~~~~ crypto/bn/rsaz-x86_64.s:560:2: error: invalid instruction mnemonic 'adcxq' adcxq %r11,%r9 ^~~~~ crypto/bn/rsaz-x86_64.s:563:2: error: invalid instruction mnemonic 'adoxq' adoxq %rax,%r9 ^~~~~ crypto/bn/rsaz-x86_64.s:564:2: error: invalid instruction mnemonic 'adcxq' adcxq %rcx,%r10 ^~~~~ crypto/bn/rsaz-x86_64.s:567:2: error: invalid instruction mnemonic 'adoxq' adoxq %rdi,%r10 ^~~~~ crypto/bn/rsaz-x86_64.s:568:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbp,%r11 ^~~~~ crypto/bn/rsaz-x86_64.s:571:2: error: invalid instruction mnemonic 'adoxq' adoxq %rbp,%r11 ^~~~~ crypto/bn/rsaz-x86_64.s:574:2: error: invalid instruction mnemonic 'adoxq' adoxq %r15,%r15 ^~~~~ crypto/bn/rsaz-x86_64.s:576:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbx,%rax ^~~~~ crypto/bn/rsaz-x86_64.s:577:2: error: invalid instruction mnemonic 'adoxq' adoxq %r8,%r8 ^~~~~ crypto/bn/rsaz-x86_64.s:578:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r15 ^~~~~ crypto/bn/rsaz-x86_64.s:579:2: error: invalid instruction mnemonic 'adoxq' adoxq %rbp,%rcx ^~~~~ crypto/bn/rsaz-x86_64.s:580:2: error: invalid instruction mnemonic 'adcxq' adcxq %rdi,%r8 ^~~~~ crypto/bn/rsaz-x86_64.s:581:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbp,%rcx ^~~~~ crypto/bn/rsaz-x86_64.s:588:2: error: invalid instruction mnemonic 'adoxq' adoxq %rax,%r10 ^~~~~ crypto/bn/rsaz-x86_64.s:589:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbx,%r11 ^~~~~ crypto/bn/rsaz-x86_64.s:592:2: error: invalid instruction mnemonic 'adoxq' adoxq %rdi,%r11 ^~~~~ crypto/bn/rsaz-x86_64.s:593:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbp,%r12 ^~~~~ crypto/bn/rsaz-x86_64.s:595:2: error: invalid instruction mnemonic 'adoxq' adoxq %rbp,%r12 ^~~~~ crypto/bn/rsaz-x86_64.s:599:2: error: invalid instruction mnemonic 'adoxq' adoxq %r9,%r9 ^~~~~ crypto/bn/rsaz-x86_64.s:601:2: error: invalid instruction mnemonic 'adcxq' adcxq %rcx,%rax ^~~~~ crypto/bn/rsaz-x86_64.s:602:2: error: invalid instruction mnemonic 'adoxq' adoxq %r10,%r10 ^~~~~ crypto/bn/rsaz-x86_64.s:603:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r9 ^~~~~ crypto/bn/rsaz-x86_64.s:604:2: error: invalid instruction mnemonic 'adcxq' adcxq %rdi,%r10 ^~~~~ crypto/bn/rsaz-x86_64.s:605:2: error: invalid instruction mnemonic 'adoxq' adoxq %rbp,%rbx ^~~~~ crypto/bn/rsaz-x86_64.s:606:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbp,%rbx ^~~~~ crypto/bn/rsaz-x86_64.s:613:2: error: invalid instruction mnemonic 'adoxq' adoxq %rax,%r12 ^~~~~ crypto/bn/rsaz-x86_64.s:614:2: error: invalid instruction mnemonic 'adoxq' adoxq %rbp,%r13 ^~~~~ crypto/bn/rsaz-x86_64.s:619:2: error: invalid instruction mnemonic 'adoxq' adoxq %r11,%r11 ^~~~~ crypto/bn/rsaz-x86_64.s:621:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbx,%rax ^~~~~ crypto/bn/rsaz-x86_64.s:622:2: error: invalid instruction mnemonic 'adoxq' adoxq %r12,%r12 ^~~~~ crypto/bn/rsaz-x86_64.s:623:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r11 ^~~~~ crypto/bn/rsaz-x86_64.s:624:2: error: invalid instruction mnemonic 'adoxq' adoxq %rbp,%rcx ^~~~~ crypto/bn/rsaz-x86_64.s:625:2: error: invalid instruction mnemonic 'adcxq' adcxq %rdi,%r12 ^~~~~ crypto/bn/rsaz-x86_64.s:626:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbp,%rcx ^~~~~ crypto/bn/rsaz-x86_64.s:634:2: error: invalid instruction mnemonic 'adoxq' adoxq %r13,%r13 ^~~~~ crypto/bn/rsaz-x86_64.s:636:2: error: invalid instruction mnemonic 'adcxq' adcxq %rcx,%rax ^~~~~ crypto/bn/rsaz-x86_64.s:637:2: error: invalid instruction mnemonic 'adoxq' adoxq %rbp,%rbx ^~~~~ crypto/bn/rsaz-x86_64.s:638:2: error: invalid instruction mnemonic 'adcxq' adcxq %r13,%rax ^~~~~ crypto/bn/rsaz-x86_64.s:639:2: error: invalid instruction mnemonic 'adcxq' adcxq %rdx,%rbx ^~~~~ crypto/bn/rsaz-x86_64.s:1077:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r8 ^~~~~ crypto/bn/rsaz-x86_64.s:1080:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbx,%r9 ^~~~~ crypto/bn/rsaz-x86_64.s:1083:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r10 ^~~~~ crypto/bn/rsaz-x86_64.s:1086:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbx,%r11 ^~~~~ crypto/bn/rsaz-x86_64.s:1089:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r12 ^~~~~ crypto/bn/rsaz-x86_64.s:1092:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbx,%r13 ^~~~~ crypto/bn/rsaz-x86_64.s:1093:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r14 ^~~~~ crypto/bn/rsaz-x86_64.s:1096:2: error: invalid instruction mnemonic 'adcxq' adcxq %rdi,%r15 ^~~~~ crypto/bn/rsaz-x86_64.s:1133:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%rbx ^~~~~ crypto/bn/rsaz-x86_64.s:1134:2: error: invalid instruction mnemonic 'adoxq' adoxq %r9,%r8 ^~~~~ crypto/bn/rsaz-x86_64.s:1137:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r8 ^~~~~ crypto/bn/rsaz-x86_64.s:1138:2: error: invalid instruction mnemonic 'adoxq' adoxq %r10,%r9 ^~~~~ crypto/bn/rsaz-x86_64.s:1141:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r9 ^~~~~ crypto/bn/rsaz-x86_64.s:1142:2: error: invalid instruction mnemonic 'adoxq' adoxq %r11,%r10 ^~~~~ crypto/bn/rsaz-x86_64.s:1145:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r10 ^~~~~ crypto/bn/rsaz-x86_64.s:1146:2: error: invalid instruction mnemonic 'adoxq' adoxq %r12,%r11 ^~~~~ crypto/bn/rsaz-x86_64.s:1149:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r11 ^~~~~ crypto/bn/rsaz-x86_64.s:1150:2: error: invalid instruction mnemonic 'adoxq' adoxq %r13,%r12 ^~~~~ crypto/bn/rsaz-x86_64.s:1153:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r12 ^~~~~ crypto/bn/rsaz-x86_64.s:1154:2: error: invalid instruction mnemonic 'adoxq' adoxq %r14,%r13 ^~~~~ crypto/bn/rsaz-x86_64.s:1157:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r13 ^~~~~ crypto/bn/rsaz-x86_64.s:1159:2: error: invalid instruction mnemonic 'adoxq' adoxq %r15,%r14 ^~~~~ crypto/bn/rsaz-x86_64.s:1163:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r14 ^~~~~ crypto/bn/rsaz-x86_64.s:1164:2: error: invalid instruction mnemonic 'adoxq' adoxq %rdi,%r15 ^~~~~ crypto/bn/rsaz-x86_64.s:1166:2: error: invalid instruction mnemonic 'adcxq' adcxq %rdi,%r15 ^~~~~ crypto/bn/rsaz-x86_64.s:1522:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbx,%rax ^~~~~ crypto/bn/rsaz-x86_64.s:1523:2: error: invalid instruction mnemonic 'adoxq' adoxq %r9,%r8 ^~~~~ crypto/bn/rsaz-x86_64.s:1526:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r8 ^~~~~ crypto/bn/rsaz-x86_64.s:1527:2: error: invalid instruction mnemonic 'adoxq' adoxq %r10,%r9 ^~~~~ crypto/bn/rsaz-x86_64.s:1530:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbx,%r9 ^~~~~ crypto/bn/rsaz-x86_64.s:1531:2: error: invalid instruction mnemonic 'adoxq' adoxq %r11,%r10 ^~~~~ crypto/bn/rsaz-x86_64.s:1534:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbx,%r10 ^~~~~ crypto/bn/rsaz-x86_64.s:1535:2: error: invalid instruction mnemonic 'adoxq' adoxq %r12,%r11 ^~~~~ crypto/bn/rsaz-x86_64.s:1540:2: error: invalid instruction mnemonic 'adcxq' adcxq %rbx,%r11 ^~~~~ crypto/bn/rsaz-x86_64.s:1541:2: error: invalid instruction mnemonic 'adoxq' adoxq %r13,%r12 ^~~~~ crypto/bn/rsaz-x86_64.s:1547:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r12 ^~~~~ crypto/bn/rsaz-x86_64.s:1548:2: error: invalid instruction mnemonic 'adoxq' adoxq %r14,%r13 ^~~~~ crypto/bn/rsaz-x86_64.s:1551:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r13 ^~~~~ crypto/bn/rsaz-x86_64.s:1552:2: error: invalid instruction mnemonic 'adoxq' adoxq %r15,%r14 ^~~~~ crypto/bn/rsaz-x86_64.s:1556:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r14 ^~~~~ crypto/bn/rsaz-x86_64.s:1557:2: error: invalid instruction mnemonic 'adoxq' adoxq %rsi,%r15 ^~~~~ crypto/bn/rsaz-x86_64.s:1558:2: error: invalid instruction mnemonic 'adcxq' adcxq %rsi,%r15 ^~~~~ crypto/bn/rsaz-x86_64.s:1807:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%rbx ^~~~~ crypto/bn/rsaz-x86_64.s:1808:2: error: invalid instruction mnemonic 'adoxq' adoxq %r9,%r8 ^~~~~ crypto/bn/rsaz-x86_64.s:1811:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r8 ^~~~~ crypto/bn/rsaz-x86_64.s:1812:2: error: invalid instruction mnemonic 'adoxq' adoxq %r10,%r9 ^~~~~ crypto/bn/rsaz-x86_64.s:1815:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r9 ^~~~~ crypto/bn/rsaz-x86_64.s:1816:2: error: invalid instruction mnemonic 'adoxq' adoxq %r11,%r10 ^~~~~ crypto/bn/rsaz-x86_64.s:1819:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r10 ^~~~~ crypto/bn/rsaz-x86_64.s:1820:2: error: invalid instruction mnemonic 'adoxq' adoxq %r12,%r11 ^~~~~ crypto/bn/rsaz-x86_64.s:1823:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r11 ^~~~~ crypto/bn/rsaz-x86_64.s:1824:2: error: invalid instruction mnemonic 'adoxq' adoxq %r13,%r12 ^~~~~ crypto/bn/rsaz-x86_64.s:1827:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r12 ^~~~~ crypto/bn/rsaz-x86_64.s:1828:2: error: invalid instruction mnemonic 'adoxq' adoxq %r14,%r13 ^~~~~ crypto/bn/rsaz-x86_64.s:1831:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r13 ^~~~~ crypto/bn/rsaz-x86_64.s:1832:2: error: invalid instruction mnemonic 'adoxq' adoxq %r15,%r14 ^~~~~ crypto/bn/rsaz-x86_64.s:1837:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r14 ^~~~~ crypto/bn/rsaz-x86_64.s:1838:2: error: invalid instruction mnemonic 'adoxq' adoxq %rdi,%r15 ^~~~~ crypto/bn/rsaz-x86_64.s:1839:2: error: invalid instruction mnemonic 'adcxq' adcxq %rdi,%r15 ^~~~~ crypto/bn/rsaz-x86_64.s:1846:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%rbx ^~~~~ crypto/bn/rsaz-x86_64.s:1847:2: error: invalid instruction mnemonic 'adoxq' adoxq %r9,%r8 ^~~~~ crypto/bn/rsaz-x86_64.s:1850:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r8 ^~~~~ crypto/bn/rsaz-x86_64.s:1851:2: error: invalid instruction mnemonic 'adoxq' adoxq %r10,%r9 ^~~~~ crypto/bn/rsaz-x86_64.s:1854:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r9 ^~~~~ crypto/bn/rsaz-x86_64.s:1855:2: error: invalid instruction mnemonic 'adoxq' adoxq %r11,%r10 ^~~~~ crypto/bn/rsaz-x86_64.s:1858:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r10 ^~~~~ crypto/bn/rsaz-x86_64.s:1859:2: error: invalid instruction mnemonic 'adoxq' adoxq %r12,%r11 ^~~~~ crypto/bn/rsaz-x86_64.s:1862:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r11 ^~~~~ crypto/bn/rsaz-x86_64.s:1863:2: error: invalid instruction mnemonic 'adoxq' adoxq %r13,%r12 ^~~~~ crypto/bn/rsaz-x86_64.s:1866:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r12 ^~~~~ crypto/bn/rsaz-x86_64.s:1867:2: error: invalid instruction mnemonic 'adoxq' adoxq %r14,%r13 ^~~~~ crypto/bn/rsaz-x86_64.s:1870:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r13 ^~~~~ crypto/bn/rsaz-x86_64.s:1871:2: error: invalid instruction mnemonic 'adoxq' adoxq %r15,%r14 ^~~~~ crypto/bn/rsaz-x86_64.s:1874:2: error: invalid instruction mnemonic 'adcxq' adcxq %rax,%r14 ^~~~~ crypto/bn/rsaz-x86_64.s:1875:2: error: invalid instruction mnemonic 'adoxq' adoxq %rdi,%r15 ^~~~~ crypto/bn/rsaz-x86_64.s:1876:2: error: invalid instruction mnemonic 'adcxq' adcxq %rdi,%r15 ^~~~~ make[1]: *** [crypto/bn/liblegacy-lib-rsaz-x86_64.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/opt/bootstrap/var/macports/build/_opt_bootstrap_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_openssl3/openssl3/work/openssl-3.0.6' make: *** [build_sw] Error 2
comment:6 follow-up: 7 Changed 2 years ago by cjones051073 (Chris Jones)
Can you please check exact what version, and variants of, cctools and ld64 you have installed ?
comment:7 Changed 2 years ago by barracuda156
Replying to cjones051073:
Can you please check exact what version, and variants of, cctools and ld64 you have installed ?
None are dependencies of openssl
:
10:bin svacchanda$ ./port rdeps openssl3 The following ports are dependencies of openssl3 @3.0.6_0+legacy: zlib xz gettext libiconv gperf libtextstyle ncurses gettext-runtime gettext-tools-libs
So whatever Xcode 5.1.1 has, I guess.
openssl1
also fails likewise, btw.
comment:8 Changed 2 years ago by cjones051073 (Chris Jones)
That is not what I asked.
Do you actually have them installed, regardless of if they are deps or not, and if so what versions and variants ?
comment:9 follow-up: 13 Changed 2 months ago by RobK88
The latest version of openssl
(version 3.3.2_0) also fails to build on Mtn Lion with a different error. See attached main.log or see below.
P.S. I also tried using clang-15
. Same problem.
openssl-3.3.2-x86_64' :info:build /usr/bin/perl util/mkinstallvars.pl PREFIX=. BINDIR=apps APPLINKDIR=ms LIBDIR= INCLUDEDIR=include "INCLUDEDIR=./include" ENGINESDIR=engines MODULESDIR=providers "VERSION=3.3.2" "LDLIBS=-lz " > builddata.pm :info:build /usr/bin/perl "-I." "-Iutil/perl" "-Mconfigdata" "-MOpenSSL::paramnames" "util/dofile.pl" "-oMakefile" crypto/params_idx.c.in > crypto/params_idx.c :info:build "pairs" is not exported by the List::Util module :info:build Can't continue after import errors at util/mkinstallvars.pl line 14 :info:build BEGIN failed--compilation aborted at util/mkinstallvars.pl line 14. :info:build make: *** [builddata.pm] Error 255 :info:build make: *** Waiting for unfinished jobs.... :info:build Precedence problem: open local should be open(local) at /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_openssl3/openssl3/work/openssl-3.3.2-x86_64/util/perl/OpenSSL/paramnames.pm line 672. :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_openssl3/openssl3/work/openssl-3.3.2-x86_64' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_openssl3/openssl3/work/openssl-3.3.2-x86_64" && /usr/bin/make -j2 -w all :info:build Exit code: 2 :error:build Failed to build openssl3: command execution failed :debug:build Error code: NONE :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "$procedure $targetname" :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_openssl3/openssl3/main.log for details.
Changed 2 months ago by RobK88
Attachment: | openssl_version_3.3.2_main.log added |
---|
comment:10 Changed 2 months ago by RobK88
FYI -- openssl3 @3.3.2_0
also fails to build on Lion (10.7.5) with the same error
comment:12 Changed 2 months ago by cjones051073 (Chris Jones)
Owner: | cjones051073 deleted |
---|
comment:13 Changed 2 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | RobK88 added |
---|---|
Keywords: | mountainlion added |
Summary: | openssl3: build failure on macOS 10.8 → openssl3 @3.0.0: error: invalid instruction mnemonic 'adcxq' |
Replying to RobK88:
The latest version of
openssl
(version 3.3.2_0) also fails to build on Mtn Lion with a different error.
Different errors belong in different tickets.
comment:15 Changed 6 weeks ago by neverpanic (Clemens Lang)
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
10.8 is outside of my support policy of (current-2;current). I will not investigate or fix this myself. Feel free to open a pull request if you find a solution.
Looks a bit similar to this old bug report
https://github.com/openssl/openssl/issues/494
Could you check to see if any of the suggestions there as to what might be wrong apply in your case for some weird reason ??