Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#64451 closed defect (invalid)

nettle fails to build on 10.6.8

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: nettle

Description

sha256-compress-2.s:87:no such instruction: `sha256rnds2 %xmm5, %xmm6'
sha256-compress-2.s:89:no such instruction: `sha256rnds2 %xmm6, %xmm5'
sha256-compress-2.s:96:no such instruction: `sha256rnds2 %xmm5, %xmm6'
sha256-compress-2.s:98:no such instruction: `sha256rnds2 %xmm6, %xmm5'
sha256-compress-2.s:99:no such instruction: `sha256msg1 %xmm2, %xmm1'
sha256-compress-2.s:106:no such instruction: `sha256rnds2 %xmm5, %xmm6'
sha256-compress-2.s:108:no such instruction: `sha256rnds2 %xmm6, %xmm5'
sha256-compress-2.s:109:no such instruction: `sha256msg1 %xmm3, %xmm2'
sha256-compress-2.s:117:no such instruction: `sha256rnds2 %xmm5, %xmm6'
sha256-compress-2.s:119:no such instruction: `sha256rnds2 %xmm6, %xmm5'
sha256-compress-2.s:123:no such instruction: `sha256msg2 %xmm4, %xmm1'
sha256-compress-2.s:124:no such instruction: `sha256msg1 %xmm4, %xmm3'
sha256-compress-2.s:129:no such instruction: `sha256rnds2 %xmm5, %xmm6'
sha256-compress-2.s:131:no such instruction: `sha256rnds2 %xmm6, %xmm5'
sha256-compress-2.s:135:no such instruction: `sha256msg2 %xmm1, %xmm2'
sha256-compress-2.s:136:no such instruction: `sha256msg1 %xmm1, %xmm4'
sha256-compress-2.s:141:no such instruction: `sha256rnds2 %xmm5, %xmm6'
sha256-compress-2.s:143:no such instruction: `sha256rnds2 %xmm6, %xmm5'
sha256-compress-2.s:147:no such instruction: `sha256msg2 %xmm2, %xmm3'
sha256-compress-2.s:148:no such instruction: `sha256msg1 %xmm2, %xmm1'
sha256-compress-2.s:153:no such instruction: `sha256rnds2 %xmm5, %xmm6'
sha256-compress-2.s:155:no such instruction: `sha256rnds2 %xmm6, %xmm5'
sha256-compress-2.s:159:no such instruction: `sha256msg2 %xmm3, %xmm4'
sha256-compress-2.s:160:no such instruction: `sha256msg1 %xmm3, %xmm2'
sha256-compress-2.s:165:no such instruction: `sha256rnds2 %xmm5, %xmm6'
sha256-compress-2.s:167:no such instruction: `sha256rnds2 %xmm6, %xmm5'
sha256-compress-2.s:171:no such instruction: `sha256msg2 %xmm4, %xmm1'
sha256-compress-2.s:172:no such instruction: `sha256msg1 %xmm4, %xmm3'
sha256-compress-2.s:177:no such instruction: `sha256rnds2 %xmm5, %xmm6'
sha256-compress-2.s:179:no such instruction: `sha256rnds2 %xmm6, %xmm5'
sha256-compress-2.s:183:no such instruction: `sha256msg2 %xmm1, %xmm2'
sha256-compress-2.s:184:no such instruction: `sha256msg1 %xmm1, %xmm4'
sha256-compress-2.s:189:no such instruction: `sha256rnds2 %xmm5, %xmm6'
sha256-compress-2.s:191:no such instruction: `sha256rnds2 %xmm6, %xmm5'
sha256-compress-2.s:195:no such instruction: `sha256msg2 %xmm2, %xmm3'
sha256-compress-2.s:196:no such instruction: `sha256msg1 %xmm2, %xmm1'
sha256-compress-2.s:201:no such instruction: `sha256rnds2 %xmm5, %xmm6'
sha256-compress-2.s:203:no such instruction: `sha256rnds2 %xmm6, %xmm5'
sha256-compress-2.s:207:no such instruction: `sha256msg2 %xmm3, %xmm4'
sha256-compress-2.s:208:no such instruction: `sha256msg1 %xmm3, %xmm2'
sha256-compress-2.s:213:no such instruction: `sha256rnds2 %xmm5, %xmm6'
sha256-compress-2.s:215:no such instruction: `sha256rnds2 %xmm6, %xmm5'
sha256-compress-2.s:219:no such instruction: `sha256msg2 %xmm4, %xmm1'
sha256-compress-2.s:220:no such instruction: `sha256msg1 %xmm4, %xmm3'
sha256-compress-2.s:225:no such instruction: `sha256rnds2 %xmm5, %xmm6'
sha256-compress-2.s:227:no such instruction: `sha256rnds2 %xmm6, %xmm5'
sha256-compress-2.s:231:no such instruction: `sha256msg2 %xmm1, %xmm2'
sha256-compress-2.s:232:no such instruction: `sha256msg1 %xmm1, %xmm4'
sha256-compress-2.s:237:no such instruction: `sha256rnds2 %xmm5, %xmm6'
sha256-compress-2.s:239:no such instruction: `sha256rnds2 %xmm6, %xmm5'
sha256-compress-2.s:243:no such instruction: `sha256msg2 %xmm2, %xmm3'
sha256-compress-2.s:247:no such instruction: `sha256rnds2 %xmm5, %xmm6'
sha256-compress-2.s:249:no such instruction: `sha256rnds2 %xmm6, %xmm5'
sha256-compress-2.s:253:no such instruction: `sha256msg2 %xmm3, %xmm4'
sha256-compress-2.s:257:no such instruction: `sha256rnds2 %xmm5, %xmm6'
sha256-compress-2.s:259:no such instruction: `sha256rnds2 %xmm6, %xmm5'
sha1-compress.asm:73:no such instruction: `sha1rnds4 $0, %xmm5,%xmm4'
sha1-compress.asm:78:no such instruction: `sha1nexte %xmm1, %xmm6'
sha1-compress.asm:80:no such instruction: `sha1rnds4 $0, %xmm6,%xmm4'
sha1-compress.asm:81:no such instruction: `sha1msg1 %xmm1, %xmm0'
sha1-compress.asm:86:no such instruction: `sha1nexte %xmm2, %xmm5'
sha1-compress.asm:88:no such instruction: `sha1rnds4 $0, %xmm5,%xmm4'
sha1-compress.asm:89:no such instruction: `sha1msg1 %xmm2, %xmm1'
sha1-compress.asm:96:no such instruction: `sha1nexte %xmm3, %xmm6'
sha1-compress.asm:98:no such instruction: `sha1msg2 %xmm3, %xmm0'
sha1-compress.asm:99:no such instruction: `sha1rnds4 $0, %xmm6,%xmm4'
sha1-compress.asm:100:no such instruction: `sha1msg1 %xmm3, %xmm2'
sha1-compress.asm:104:no such instruction: `sha1nexte %xmm0, %xmm5'
sha1-compress.asm:106:no such instruction: `sha1msg2 %xmm0, %xmm1'
sha1-compress.asm:107:no such instruction: `sha1rnds4 $0, %xmm5,%xmm4'
sha1-compress.asm:108:no such instruction: `sha1msg1 %xmm0, %xmm3'
sha1-compress.asm:113:no such instruction: `sha1nexte %xmm1, %xmm6'
sha1-compress.asm:115:no such instruction: `sha1msg2 %xmm1, %xmm2'
sha1-compress.asm:116:no such instruction: `sha1rnds4 $1, %xmm6,%xmm4'
sha1-compress.asm:117:no such instruction: `sha1msg1 %xmm1, %xmm0'
sha1-compress.asm:121:no such instruction: `sha1nexte %xmm2, %xmm5'
sha1-compress.asm:123:no such instruction: `sha1msg2 %xmm2, %xmm3'
sha1-compress.asm:124:no such instruction: `sha1rnds4 $1, %xmm5,%xmm4'
sha1-compress.asm:125:no such instruction: `sha1msg1 %xmm2, %xmm1'
sha1-compress.asm:129:no such instruction: `sha1nexte %xmm3, %xmm6'
sha1-compress.asm:131:no such instruction: `sha1msg2 %xmm3, %xmm0'
sha1-compress.asm:132:no such instruction: `sha1rnds4 $1, %xmm6,%xmm4'
sha1-compress.asm:133:no such instruction: `sha1msg1 %xmm3, %xmm2'
sha1-compress.asm:137:no such instruction: `sha1nexte %xmm0, %xmm5'
sha1-compress.asm:139:no such instruction: `sha1msg2 %xmm0, %xmm1'
sha1-compress.asm:140:no such instruction: `sha1rnds4 $1, %xmm5,%xmm4'
sha1-compress.asm:141:no such instruction: `sha1msg1 %xmm0, %xmm3'
sha1-compress.asm:145:no such instruction: `sha1nexte %xmm1, %xmm6'
sha1-compress.asm:147:no such instruction: `sha1msg2 %xmm1, %xmm2'
sha1-compress.asm:148:no such instruction: `sha1rnds4 $1, %xmm6,%xmm4'
sha1-compress.asm:149:no such instruction: `sha1msg1 %xmm1, %xmm0'
sha1-compress.asm:154:no such instruction: `sha1nexte %xmm2, %xmm5'
sha1-compress.asm:156:no such instruction: `sha1msg2 %xmm2, %xmm3'
sha1-compress.asm:157:no such instruction: `sha1rnds4 $2, %xmm5,%xmm4'
sha1-compress.asm:158:no such instruction: `sha1msg1 %xmm2, %xmm1'
make[1]: *** [sha256-compress-2.o] Error 1
make[1]: *** Waiting for unfinished jobs....
sha1-compress.asm:162:no such instruction: `sha1nexte %xmm3, %xmm6'
sha1-compress.asm:164:no such instruction: `sha1msg2 %xmm3, %xmm0'
sha1-compress.asm:165:no such instruction: `sha1rnds4 $2, %xmm6,%xmm4'
sha1-compress.asm:166:no such instruction: `sha1msg1 %xmm3, %xmm2'
sha1-compress.asm:170:no such instruction: `sha1nexte %xmm0, %xmm5'
sha1-compress.asm:172:no such instruction: `sha1msg2 %xmm0, %xmm1'
sha1-compress.asm:173:no such instruction: `sha1rnds4 $2, %xmm5,%xmm4'
sha1-compress.asm:174:no such instruction: `sha1msg1 %xmm0, %xmm3'
sha1-compress.asm:178:no such instruction: `sha1nexte %xmm1, %xmm6'
sha1-compress.asm:180:no such instruction: `sha1msg2 %xmm1, %xmm2'
sha1-compress.asm:181:no such instruction: `sha1rnds4 $2, %xmm6,%xmm4'
sha1-compress.asm:182:no such instruction: `sha1msg1 %xmm1, %xmm0'
sha1-compress.asm:186:no such instruction: `sha1nexte %xmm2, %xmm5'
sha1-compress.asm:188:no such instruction: `sha1msg2 %xmm2, %xmm3'
sha1-compress.asm:189:no such instruction: `sha1rnds4 $2, %xmm5,%xmm4'
sha1-compress.asm:190:no such instruction: `sha1msg1 %xmm2, %xmm1'
sha1-compress.asm:195:no such instruction: `sha1nexte %xmm3, %xmm6'
sha1-compress.asm:197:no such instruction: `sha1msg2 %xmm3, %xmm0'
sha1-compress.asm:198:no such instruction: `sha1rnds4 $3, %xmm6,%xmm4'
sha1-compress.asm:199:no such instruction: `sha1msg1 %xmm3, %xmm2'
sha1-compress.asm:203:no such instruction: `sha1nexte %xmm0, %xmm5'
sha1-compress.asm:205:no such instruction: `sha1msg2 %xmm0, %xmm1'
sha1-compress.asm:206:no such instruction: `sha1rnds4 $3, %xmm5,%xmm4'
sha1-compress.asm:207:no such instruction: `sha1msg1 %xmm0, %xmm3'
sha1-compress.asm:211:no such instruction: `sha1nexte %xmm1, %xmm6'
sha1-compress.asm:213:no such instruction: `sha1msg2 %xmm1, %xmm2'
sha1-compress.asm:214:no such instruction: `sha1rnds4 $3, %xmm6,%xmm4'
sha1-compress.asm:217:no such instruction: `sha1nexte %xmm2, %xmm5'
sha1-compress.asm:219:no such instruction: `sha1msg2 %xmm2, %xmm3'
sha1-compress.asm:220:no such instruction: `sha1rnds4 $3, %xmm5,%xmm4'
sha1-compress.asm:222:no such instruction: `sha1nexte %xmm3, %xmm6'
sha1-compress.asm:224:no such instruction: `sha1rnds4 $3, %xmm6,%xmm4'
sha1-compress.asm:226:no such instruction: `sha1nexte %xmm8, %xmm5'
make[1]: *** [sha1-compress-2.o] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nettle/nettle/work/nettle-3.7.3-x86_64'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nettle/nettle/work/nettle-3.7.3-x86_64'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nettle/nettle/work/nettle-3.7.3-x86_64" && /usr/bin/make -j8 -w all 
Exit code: 2
Error: Failed to build nettle: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nettle/nettle/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port nettle failed

Attachments (1)

main.log (178.5 KB) - added by barracuda156 3 years ago.

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by barracuda156

Attachment: main.log added

comment:1 Changed 3 years ago by kencu (Ken)

there is already a workaround in this port for this issue to prevent gcc-4.2 being used for the build.

https://github.com/macports/macports-ports/blob/e43aaf65c7f3702812aa21b8b0d3cde87fe2b716/devel/nettle/Portfile#L44

I presume you have subverted that to try force macports to build x86_64 and ppc universal.

This is not a supported configuration.

There is no macports compiler that can currently build this port in this configuration.

comment:2 Changed 3 years ago by kencu (Ken)

Resolution: invalid
Status: newclosed

comment:3 Changed 3 years ago by kencu (Ken)

there are ways you can build this separately by hand, using two different compilers, lipo them together perhaps by hand or by using the muniversal PortGroup, and get something installed locally on your own system.

MacPorts is extremtly powerful, as you know.

But these kinds of things are not appropriate for error tickets in macports.

Version 0, edited 3 years ago by kencu (Ken) (next)
Note: See TracTickets for help on using tickets.