Opened 15 years ago

Closed 13 years ago

#20873 closed defect (fixed)

can't compile mplayer-devel 29418 on mac mini (leopard)

Reported by: bug.odesk@… Owned by: acho@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: fracai, kurtjaeke@…, srm@…, dossy@…, macports.users@…, bgrupe27
Port: mplayer-devel

Description

Got this error(full log attached):

In file included from liba52/imdct.c:725: liba52/imdct_3dnow.h: In function 'fft_asmb_3dnow': liba52/imdct_3dnow.h:257: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' make: * [liba52/imdct.o] Error 1

Attachments (1)

log.txt (15.4 KB) - added by bug.odesk@… 15 years ago.
log

Download all attachments as: .zip

Change History (17)

Changed 15 years ago by bug.odesk@…

Attachment: log.txt added

log

comment:1 Changed 15 years ago by bug.odesk@…

Cc: bug.odesk@… added

Cc Me!

comment:2 Changed 15 years ago by fracai

Cc: arno+macports@… added

Cc Me!

comment:3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to acho@…

comment:4 Changed 15 years ago by bug.odesk@…

Forgot to add gcc version.

i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493)

comment:5 Changed 15 years ago by bug.odesk@…

Same error using gcc-4.2:

i686-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5574)

comment:6 Changed 15 years ago by tobypeterson

Priority: HighNormal

comment:7 Changed 15 years ago by kurtjaeke@…

Adding "-O1 -fomit-frame-pointer" to the CFLAGS fixes this issue.

comment:8 Changed 15 years ago by kurtjaeke@…

Cc: kurtjaeke@… added

Cc Me!

comment:9 in reply to:  7 Changed 15 years ago by srm@…

Replying to kurtjaeke@…:

Adding "-O1 -fomit-frame-pointer" to the CFLAGS fixes this issue.

fixed the issue for me too. Additionally, I had to add '-arch i386' to EXTRA-LDFLAGS, otherwise I received wrong architecture errors when linking the libs (mp3, etc.)

comment:10 Changed 15 years ago by srm@…

Cc: srm@… added

Cc Me!

comment:11 Changed 15 years ago by dossy@…

Cc: dossy@… added

Cc Me!

comment:12 Changed 15 years ago by bug.odesk@…

Is there any way to do port install with optional CFLAGS? I tried port -v install mplayer-devel configure.optflags="-O1 -fomit-frame-pointer", but this is not working.

comment:13 Changed 15 years ago by jmroot (Joshua Root)

Cc: macports.users@… bgrupe@… added; bug.odesk@… removed
Keywords: mplayer removed

Has duplicate #20921.

comment:14 Changed 14 years ago by jmroot (Joshua Root)

Is this still a problem with 31034?

comment:15 Changed 14 years ago by srm@…

successfully compiled 31034 and working (as per first tests) on 10.6.5

uname -a: 10.5.0 Darwin Kernel Version 10.5.0: Fri Nov 5 23:20:39 PDT 2010; root:xnu-1504.9.17~1/RELEASE_I386 i386 (kernel mismatch? this should be Snow Leopard...)

with the standard config (as generated by configure):

Config files successfully generated by ./configure --prefix=/opt/local --extra-cflags=-I/opt/local/include/lzo -I/opt/local/include --extra-ldflags=-L/opt/local/lib -L/opt/local/lib/samba3 --datadir=/opt/local/share/mplayer-devel --confdir=/opt/local/etc/mplayer-devel --mandir=/opt/local/share/man --enable-png --enable-jpeg --enable-liblzo --enable-theora --enable-libvorbis --enable-mad --enable-largefiles --disable-smb --disable-live --disable-dvdnav --disable-dvdread --disable-cdparanoia --disable-freetype --disable-fontconfig --disable-fribidi --disable-enca --disable-libcdio --disable-xvid --disable-x264 --disable-speex --disable-faac --disable-libdv --disable-toolame --disable-twolame --disable-xmms --disable-musepack --disable-sdl --disable-aa --disable-caca --disable-x11 --disable-gl --disable-arts --disable-esd --disable-lirc --disable-mng --disable-libdirac-lavc --disable-libschroedinger-lavc --disable-qtx --target=x86_64-Darwin !

Install prefix: /opt/local Data directory: /opt/local/share/mplayer-devel Config direct.: /opt/local/etc/mplayer-devel

Byte order: little-endian Optimizing for: core2

Languages:

Messages/GUI: en Manual pages: en Documentation: en

Enabled optional drivers:

Input: ftp tv libdvdcss(internal) dvdread(internal) vcd network Codecs: libavcodec(internal) real xanim faad2(internal) libmpeg2(internal) mp3lib(internal) libtheora tremor(internal) libmad liblzo Audio output: coreaudio openal mpegpes(file) Video output: pnm jpeg corevideo mpegpes(file) yuv4mpeg md5sum tga

Disabled optional drivers:

Input: dvdnav vstream pvr radio tv-v4l2 tv-v4l1 tv-dshow live555 nemesi cddb cdda dvb smb Codecs: libschroedinger libdirac x264 xvid libdv libopencore_amrwb libopencore_amrnb qtx win32 faac musepack libdca liba52 speex toolame twolame gif OpenJPEG Audio output: sun alsa jack pulse nas esd arts oss v4l2 ivtv dxr2 sdl Video output: zr zr2 v4l2 ivtv dxr3 dxr2 sdl vesa gif89a matrixview opengl quartz fbdev svga caca aa ggi xmga mga xvidix winvidix cvidix 3dfx dga vdpau xvmc xv x11 dfbmga directfb bl xvr100 tdfx_vid wii s3fb tdfxfb

comment:16 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Closing as per comment:15.

Note: See TracTickets for help on using tickets.