#68143 closed defect (fixed)

libmpeg2 is broken on Rosetta due to usage of wrong assembler

Reported by: barracuda156 Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: powerpc, rosetta, snowleopard Cc:
Port: libmpeg2

Description

 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -I/opt/local/include -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -fomit-frame-pointer -fno-common -pipe -Os -std=gnu89 -arch ppc -MT uyvy.lo -MD -MP -MF .deps/uyvy.Tpo -c uyvy.c -o uyvy.o >/dev/null 2>&1
{standard input}:58:Invalid mnemonic 'movd'
{standard input}:59:Invalid mnemonic 'movd'
{standard input}:60:Invalid mnemonic 'movq'
{standard input}:61:Invalid mnemonic 'pxor'
{standard input}:62:Invalid mnemonic 'punpcklbw'
{standard input}:63:Invalid mnemonic 'punpcklbw'
{standard input}:64:Invalid mnemonic 'psubsw'
{standard input}:66:Invalid mnemonic 'psubsw'
{standard input}:67:Invalid mnemonic 'psllw'
{standard input}:68:Invalid mnemonic 'psllw'
{standard input}:69:Invalid mnemonic 'movq'
{standard input}:70:Invalid mnemonic 'movq'
{standard input}:71:Invalid mnemonic 'pmulhw'
{standard input}:72:Invalid mnemonic 'pmulhw'
{standard input}:73:Invalid mnemonic 'pmulhw'
{standard input}:74:Invalid mnemonic 'pmulhw'
{standard input}:75:Invalid mnemonic 'paddsw'
{standard input}:76:Invalid mnemonic 'psubusb'
{standard input}:77:Invalid mnemonic 'movq'
{standard input}:78:Invalid mnemonic 'pand'
{standard input}:79:Invalid mnemonic 'psrlw'
{standard input}:80:Invalid mnemonic 'psllw'
{standard input}:81:Invalid mnemonic 'psllw'
{standard input}:82:Invalid mnemonic 'pmulhw'
{standard input}:84:Invalid mnemonic 'pmulhw'
{standard input}:85:Invalid mnemonic 'movq'
{standard input}:86:Invalid mnemonic 'movq'
{standard input}:87:Invalid mnemonic 'movq'
{standard input}:88:Invalid mnemonic 'paddsw'
{standard input}:89:Invalid mnemonic 'paddsw'
{standard input}:90:Invalid mnemonic 'paddsw'
{standard input}:91:Invalid mnemonic 'paddsw'
{standard input}:92:Invalid mnemonic 'paddsw'
{standard input}:93:Invalid mnemonic 'paddsw'
{standard input}:94:Invalid mnemonic 'packuswb'
{standard input}:95:Invalid mnemonic 'packuswb'
{standard input}:96:Invalid mnemonic 'packuswb'
{standard input}:97:Invalid mnemonic 'packuswb'
{standard input}:98:Invalid mnemonic 'packuswb'
{standard input}:99:Invalid mnemonic 'packuswb'
{standard input}:100:Invalid mnemonic 'punpcklbw'
{standard input}:101:Invalid mnemonic 'punpcklbw'
{standard input}:102:Invalid mnemonic 'punpcklbw'
{standard input}:103:Invalid mnemonic 'pand'
{standard input}:104:Invalid mnemonic 'pand'
{standard input}:105:Invalid mnemonic 'pand'
{standard input}:106:Invalid mnemonic 'psrlq'
{standard input}:107:Invalid mnemonic 'pxor'
{standard input}:108:Invalid mnemonic 'movq'
{standard input}:109:Invalid mnemonic 'movq'
{standard input}:110:Invalid mnemonic 'punpcklbw'
{standard input}:111:Invalid mnemonic 'punpcklbw'
{standard input}:112:Invalid mnemonic 'psllq'
{standard input}:113:Invalid mnemonic 'por'
{standard input}:114:Invalid mnemonic 'movq'
{standard input}:115:Invalid mnemonic 'punpckhbw'
{standard input}:116:Invalid mnemonic 'punpckhbw'
{standard input}:117:Invalid mnemonic 'psllq'
{standard input}:118:Invalid mnemonic 'por'
{standard input}:119:Invalid mnemonic 'movq'
{standard input}:217:Invalid mnemonic 'movd'
{standard input}:218:Invalid mnemonic 'movd'
{standard input}:219:Invalid mnemonic 'movq'
{standard input}:220:Invalid mnemonic 'pxor'
{standard input}:221:Invalid mnemonic 'punpcklbw'
{standard input}:222:Invalid mnemonic 'punpcklbw'
{standard input}:223:Invalid mnemonic 'psubsw'
{standard input}:225:Invalid mnemonic 'psubsw'
{standard input}:226:Invalid mnemonic 'psllw'
{standard input}:227:Invalid mnemonic 'psllw'
{standard input}:228:Invalid mnemonic 'movq'
{standard input}:229:Invalid mnemonic 'movq'
{standard input}:230:Invalid mnemonic 'pmulhw'
{standard input}:231:Invalid mnemonic 'pmulhw'
{standard input}:232:Invalid mnemonic 'pmulhw'
{standard input}:233:Invalid mnemonic 'pmulhw'
{standard input}:234:Invalid mnemonic 'paddsw'
{standard input}:235:Invalid mnemonic 'psubusb'
{standard input}:236:Invalid mnemonic 'movq'
{standard input}:237:Invalid mnemonic 'pand'
{standard input}:238:Invalid mnemonic 'psrlw'
{standard input}:239:Invalid mnemonic 'psllw'
{standard input}:240:Invalid mnemonic 'psllw'
{standard input}:241:Invalid mnemonic 'pmulhw'
{standard input}:243:Invalid mnemonic 'pmulhw'
{standard input}:244:Invalid mnemonic 'movq'
{standard input}:245:Invalid mnemonic 'movq'
{standard input}:246:Invalid mnemonic 'movq'
{standard input}:247:Invalid mnemonic 'paddsw'
{standard input}:248:Invalid mnemonic 'paddsw'
{standard input}:249:Invalid mnemonic 'paddsw'
{standard input}:250:Invalid mnemonic 'paddsw'
{standard input}:251:Invalid mnemonic 'paddsw'
{standard input}:252:Invalid mnemonic 'paddsw'
{standard input}:253:Invalid mnemonic 'packuswb'
{standard input}:254:Invalid mnemonic 'packuswb'
{standard input}:255:Invalid mnemonic 'packuswb'
{standard input}:256:Invalid mnemonic 'packuswb'
{standard input}:257:Invalid mnemonic 'packuswb'
{standard input}:258:Invalid mnemonic 'packuswb'
{standard input}:259:Invalid mnemonic 'punpcklbw'
{standard input}:260:Invalid mnemonic 'punpcklbw'
{standard input}:261:Invalid mnemonic 'punpcklbw'
{standard input}:262:Invalid mnemonic 'pxor'
{standard input}:263:Invalid mnemonic 'movq'
{standard input}:264:Invalid mnemonic 'movq'
{standard input}:265:Invalid mnemonic 'movq'
{standard input}:266:Invalid mnemonic 'movq'
{standard input}:267:Invalid mnemonic 'punpcklbw'
{standard input}:268:Invalid mnemonic 'punpcklbw'
{standard input}:269:Invalid mnemonic 'punpcklwd'
{standard input}:270:Invalid mnemonic 'movq'
{standard input}:271:Invalid mnemonic 'movq'
{standard input}:272:Invalid mnemonic 'punpcklbw'
{standard input}:273:Invalid mnemonic 'punpckhwd'
{standard input}:274:Invalid mnemonic 'movq'
{standard input}:275:Invalid mnemonic 'punpckhbw'
{standard input}:276:Invalid mnemonic 'punpckhbw'
{standard input}:277:Invalid mnemonic 'punpcklwd'
{standard input}:278:Invalid mnemonic 'movq'
{standard input}:279:Invalid mnemonic 'movq'
{standard input}:280:Invalid mnemonic 'punpckhbw'
{standard input}:281:Invalid mnemonic 'punpckhwd'
{standard input}:282:Invalid mnemonic 'movq'
{standard input}:442:Invalid mnemonic 'movd'
{standard input}:443:Invalid mnemonic 'movd'
{standard input}:444:Invalid mnemonic 'movq'
{standard input}:445:Invalid mnemonic 'pxor'
{standard input}:446:Invalid mnemonic 'punpcklbw'
{standard input}:447:Invalid mnemonic 'punpcklbw'
{standard input}:448:Invalid mnemonic 'psubsw'
{standard input}:450:Invalid mnemonic 'psubsw'
{standard input}:451:Invalid mnemonic 'psllw'
{standard input}:452:Invalid mnemonic 'psllw'
{standard input}:453:Invalid mnemonic 'movq'
{standard input}:454:Invalid mnemonic 'movq'
{standard input}:455:Invalid mnemonic 'pmulhw'
{standard input}:456:Invalid mnemonic 'pmulhw'
{standard input}:457:Invalid mnemonic 'pmulhw'
{standard input}:458:Invalid mnemonic 'pmulhw'
{standard input}:459:Invalid mnemonic 'paddsw'
{standard input}:460:Invalid mnemonic 'psubusb'
{standard input}:461:Invalid mnemonic 'movq'
{standard input}:462:Invalid mnemonic 'pand'
{standard input}:463:Invalid mnemonic 'psrlw'
{standard input}:464:Invalid mnemonic 'psllw'
{standard input}:465:Invalid mnemonic 'psllw'
{standard input}:466:Invalid mnemonic 'pmulhw'
{standard input}:468:Invalid mnemonic 'pmulhw'
{standard input}:469:Invalid mnemonic 'movq'
{standard input}:470:Invalid mnemonic 'movq'
{standard input}:471:Invalid mnemonic 'movq'
{standard input}:472:Invalid mnemonic 'paddsw'
{standard input}:473:Invalid mnemonic 'paddsw'
{standard input}:474:Invalid mnemonic 'paddsw'
{standard input}:475:Invalid mnemonic 'paddsw'
{standard input}:476:Invalid mnemonic 'paddsw'
{standard input}:477:Invalid mnemonic 'paddsw'
{standard input}:478:Invalid mnemonic 'packuswb'
{standard input}:479:Invalid mnemonic 'packuswb'
{standard input}:480:Invalid mnemonic 'packuswb'
{standard input}:481:Invalid mnemonic 'packuswb'
{standard input}:482:Invalid mnemonic 'packuswb'
{standard input}:483:Invalid mnemonic 'packuswb'
{standard input}:484:Invalid mnemonic 'punpcklbw'
{standard input}:485:Invalid mnemonic 'punpcklbw'
{standard input}:486:Invalid mnemonic 'punpcklbw'
{standard input}:487:Invalid mnemonic 'pand'
{standard input}:488:Invalid mnemonic 'pand'
{standard input}:489:Invalid mnemonic 'pand'
{standard input}:490:Invalid mnemonic 'psrlq'
{standard input}:491:Invalid mnemonic 'pxor'
{standard input}:492:Invalid mnemonic 'movq'
{standard input}:493:Invalid mnemonic 'movq'
{standard input}:494:Invalid mnemonic 'punpcklbw'
{standard input}:495:Invalid mnemonic 'punpcklbw'
{standard input}:496:Invalid mnemonic 'psllq'
{standard input}:497:Invalid mnemonic 'por'
{standard input}:498:Invalid mnemonic 'movntq'
{standard input}:499:Invalid mnemonic 'punpckhbw'
{standard input}:500:Invalid mnemonic 'punpckhbw'
{standard input}:501:Invalid mnemonic 'psllq'
{standard input}:502:Invalid mnemonic 'por'
{standard input}:503:Invalid mnemonic 'movntq'
{standard input}:601:Invalid mnemonic 'movd'
{standard input}:602:Invalid mnemonic 'movd'
{standard input}:603:Invalid mnemonic 'movq'
{standard input}:604:Invalid mnemonic 'pxor'
{standard input}:605:Invalid mnemonic 'punpcklbw'
{standard input}:606:Invalid mnemonic 'punpcklbw'
{standard input}:607:Invalid mnemonic 'psubsw'
{standard input}:609:Invalid mnemonic 'psubsw'
{standard input}:610:Invalid mnemonic 'psllw'
{standard input}:611:Invalid mnemonic 'psllw'
{standard input}:612:Invalid mnemonic 'movq'
{standard input}:613:Invalid mnemonic 'movq'
{standard input}:614:Invalid mnemonic 'pmulhw'
{standard input}:615:Invalid mnemonic 'pmulhw'
{standard input}:616:Invalid mnemonic 'pmulhw'
{standard input}:617:Invalid mnemonic 'pmulhw'
{standard input}:618:Invalid mnemonic 'paddsw'
{standard input}:619:Invalid mnemonic 'psubusb'
{standard input}:620:Invalid mnemonic 'movq'
{standard input}:621:Invalid mnemonic 'pand'
{standard input}:622:Invalid mnemonic 'psrlw'
{standard input}:623:Invalid mnemonic 'psllw'
{standard input}:624:Invalid mnemonic 'psllw'
{standard input}:625:Invalid mnemonic 'pmulhw'
{standard input}:627:Invalid mnemonic 'pmulhw'
{standard input}:628:Invalid mnemonic 'movq'
{standard input}:629:Invalid mnemonic 'movq'
{standard input}:630:Invalid mnemonic 'movq'
{standard input}:631:Invalid mnemonic 'paddsw'
{standard input}:632:Invalid mnemonic 'paddsw'
{standard input}:633:Invalid mnemonic 'paddsw'
{standard input}:634:Invalid mnemonic 'paddsw'
{standard input}:635:Invalid mnemonic 'paddsw'
{standard input}:636:Invalid mnemonic 'paddsw'
{standard input}:637:Invalid mnemonic 'packuswb'
{standard input}:638:Invalid mnemonic 'packuswb'
{standard input}:639:Invalid mnemonic 'packuswb'
{standard input}:640:Invalid mnemonic 'packuswb'
{standard input}:641:Invalid mnemonic 'packuswb'
{standard input}:642:Invalid mnemonic 'packuswb'
{standard input}:643:Invalid mnemonic 'punpcklbw'
{standard input}:644:Invalid mnemonic 'punpcklbw'
{standard input}:645:Invalid mnemonic 'punpcklbw'
{standard input}:646:Invalid mnemonic 'pxor'
{standard input}:647:Invalid mnemonic 'movq'
{standard input}:648:Invalid mnemonic 'movq'
{standard input}:649:Invalid mnemonic 'movq'
{standard input}:650:Invalid mnemonic 'movq'
{standard input}:651:Invalid mnemonic 'punpcklbw'
{standard input}:652:Invalid mnemonic 'punpcklbw'
{standard input}:653:Invalid mnemonic 'punpcklwd'
{standard input}:654:Invalid mnemonic 'movntq'
{standard input}:655:Invalid mnemonic 'movq'
{standard input}:656:Invalid mnemonic 'punpcklbw'
{standard input}:657:Invalid mnemonic 'punpckhwd'
{standard input}:658:Invalid mnemonic 'movntq'
{standard input}:659:Invalid mnemonic 'punpckhbw'
{standard input}:660:Invalid mnemonic 'punpckhbw'
{standard input}:661:Invalid mnemonic 'punpcklwd'
{standard input}:662:Invalid mnemonic 'movntq'
{standard input}:663:Invalid mnemonic 'movq'
{standard input}:664:Invalid mnemonic 'punpckhbw'
{standard input}:665:Invalid mnemonic 'punpckhwd'
{standard input}:666:Invalid mnemonic 'movntq'
make[2]: *** [libmpeg2convertarch_la-rgb_mmx.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/uyvy.Tpo .deps/uyvy.Plo
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -I/opt/local/include -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -fomit-frame-pointer -fno-common -pipe -Os -std=gnu89 -arch ppc -MT rgb.lo -MD -MP -MF .deps/rgb.Tpo -c rgb.c -o rgb.o >/dev/null 2>&1
mv -f .deps/rgb.Tpo .deps/rgb.Plo
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libmpeg2/libmpeg2/work/libmpeg2-0.5.1/libmpeg2/convert'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libmpeg2/libmpeg2/work/libmpeg2-0.5.1/libmpeg2'
make: *** [all-recursive] Error 1

Change History (2)

comment:1 Changed 14 months ago by barracuda156

Apparently due to misdetection of arch: configure sets ARCH_X86.

comment:2 Changed 14 months ago by barracuda156

Owner: set to barracuda156
Resolution: fixed
Status: newclosed

In aac881b8ff73f83ae7576f78fb8a76363c22f8d8/macports-ports (master):

libmpeg2: fix build on rosetta

Fixes: #68143

Note: See TracTickets for help on using tickets.