[MacPorts] #22309: mplayer-devel fails to build on 10.5.8
MacPorts
noreply at macports.org
Sun Nov 1 10:18:27 PST 2009
#22309: mplayer-devel fails to build on 10.5.8
--------------------------------+-------------------------------------------
Reporter: admsimat@… | Owner: acho@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: mplayer-devel
--------------------------------+-------------------------------------------
Comment(by ecronin@…):
root problem is here:
with --target:
{{{
=========== Checking for GCC & CPU optimization abilities ============
int main(void) { return 0; }
/usr/bin/gcc-4.0 -mdynamic-no-pic -falign-loops=16 -shared-libgcc -I.
-fomit-frame-pointer -I/opt/local/include/lzo -I/opt/local/include
-L/opt/local/lib -L/opt/local/lib/samba3 -o /tmp/mplayer-
conf-16225-31247 /tmp/mplayer-conf-8096-31247.c -march=native
/tmp/mplayer-conf-8096-31247.c:1: error: bad value (native) for -march=
switch
/tmp/mplayer-conf-8096-31247.c:1: error: bad value (native) for -mtune=
switch
int main(void) { return 0; }
/usr/bin/gcc-4.0 -mdynamic-no-pic -falign-loops=16 -shared-libgcc -I.
-fomit-frame-pointer -I/opt/local/include/lzo -I/opt/local/include
-L/opt/local/lib -L/opt/local/lib/samba3 -o /tmp/mplayer-
conf-16225-31247 /tmp/mplayer-conf-8096-31247.c -march=core2 -mtune=core2
/tmp/mplayer-conf-8096-31247.c:1: error: bad value (core2) for -march=
switch
/tmp/mplayer-conf-8096-31247.c:1: error: bad value (core2) for -mtune=
switch
int main(void) { return 0; }
/usr/bin/gcc-4.0 -mdynamic-no-pic -falign-loops=16 -shared-libgcc -I.
-fomit-frame-pointer -I/opt/local/include/lzo -I/opt/local/include
-L/opt/local/lib -L/opt/local/lib/samba3 -o /tmp/mplayer-
conf-16225-31247 /tmp/mplayer-conf-8096-31247.c -march=pentium-m
-mtune=pentium-m
Result is: i386
##########################################
}}}
without --target (auto-detect in ./configure):
{{{
============ Checking for GCC & CPU optimization abilities ============
int main(void) { return 0; }
/usr/bin/gcc-4.0 -mdynamic-no-pic -falign-loops=16 -shared-libgcc -I.
-fomit-frame-pointer -I/opt/local/include/lzo -I/opt/local/include
-L/opt/local/lib -L/opt/local/lib/samba3 -o /tmp/mplayer-conf-11210-337
/tmp/mplayer-conf-32532-337.c -march=native
/tmp/mplayer-conf-32532-337.c:1: error: bad value (native) for -march=
switch
/tmp/mplayer-conf-32532-337.c:1: error: bad value (native) for -mtune=
switch
int main(void) { return 0; }
/usr/bin/gcc-4.0 -mdynamic-no-pic -falign-loops=16 -shared-libgcc -I.
-fomit-frame-pointer -I/opt/local/include/lzo -I/opt/local/include
-L/opt/local/lib -L/opt/local/lib/samba3 -o /tmp/mplayer-conf-11210-337
/tmp/mplayer-conf-32532-337.c -march=core2 -mtune=core2
/tmp/mplayer-conf-32532-337.c:1: error: bad value (core2) for -march=
switch
/tmp/mplayer-conf-32532-337.c:1: error: bad value (core2) for -mtune=
switch
int main(void) { return 0; }
/usr/bin/gcc-4.0 -mdynamic-no-pic -falign-loops=16 -shared-libgcc -I.
-fomit-frame-pointer -I/opt/local/include/lzo -I/opt/local/include
-L/opt/local/lib -L/opt/local/lib/samba3 -o /tmp/mplayer-conf-11210-337
/tmp/mplayer-conf-32532-337.c -march=pentium-m -mtune=pentium-m
Result is: pentium-m
##########################################
}}}
Once -march=i386 starts getting passed things go south in CoreVideo,
CoreAudio, and other system frameworks... Testing if disabling --target
when macports arch is i386 does anything bad on 10.6 x86_64.
--
Ticket URL: <http://trac.macports.org/ticket/22309#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list