On 11/8/10 7:04 PM, Chris Pickett wrote: > Hi, > > Apple's gcc on 10.4 can't build libx264-98-shlibs: > > ======================================= > Setting runtime build-lock... > dpkg-deb -b > /sw/src/fink.build/root-fink-buildlock-libx264-98-shlibs-0.0.20100602-2 > /sw/src/fink.build > > [...] > > gcc -O3 -ffast-math -I. -fno-common -I/sw/include -Wall -I. > -falign-loops=16 -march=i686 -mfpmath=sse -msse -std=gnu99 -fPIC -s > -fomit-frame-pointer -I/sw/include -c -o encoder/analyse.o > encoder/analyse.c > encoder/analyse.c: In function 'x264_analyse_init_costs': > encoder/analyse.c:274: error: unrecognizable insn: > (insn:HI 88 87 89 6 (set (reg:V4SI 119) > (ashift:V4SI (reg:V4SI 119) > (const_int 31 [0x1f]))) -1 (insn_list:REG_DEP_TRUE 87 (nil)) > (nil)) > encoder/analyse.c:274: internal compiler error: in extract_insn, at > recog.c:2033 > ======================================= > > I did ln -s gcc gcc-4 in /sw/bin and it compiles properly, but now ld > doesn't work: > > ======================================= > gcc -o libx264.98.0.0.dylib common/mc.o common/predict.o common/pixel.o > common/macroblock.o common/frame.o common/dct.o common/cpu.o > common/cabac.o common/common.o common/mdate.o common/rectangle.o > common/set.o common/quant.o common/deblock.o common/vlc.o > common/mvpred.o common/bitstream.o encoder/analyse.o encoder/me.o > encoder/ratecontrol.o encoder/set.o encoder/macroblock.o encoder/cabac.o > encoder/cavlc.o encoder/encoder.o encoder/lookahead.o common/visualize.o > common/display-x11.o common/x86/mc-c.o common/x86/predict-c.o > common/x86/const-a.o common/x86/cabac-a.o common/x86/dct-a.o > common/x86/deblock-a.o common/x86/mc-a.o common/x86/mc-a2.o > common/x86/pixel-a.o common/x86/predict-a.o common/x86/quant-a.o > common/x86/sad-a.o common/x86/cpu-a.o common/x86/dct-32.o > common/x86/bitstream-a.o common/x86/pixel-32.o -dynamiclib -install_name > /sw/lib/libx264.98.dylib -compatibility_version 1 -current_version 1 > -Wl,-read_only_relocs,suppress -L/usr/X11R6/lib -lX11 -L/sw/lib -lm > -lpthread -s > /usr/bin/ld: can't use -s with -dylib (file must contain at least global > symbols, for maximum stripping use -x) > collect2: ld returned 1 exit status > ======================================= > > Is there a workaround I can try for the ld problem? Or do I need to > wait for the package to get fixed?
Thanks for the report. The fix should show up with revision -3 now making its way to the mirrors. Hanspeter -- Disclaimer: By sending an email to ANY of my addresses you are agreeing that: 1. I am by definition, "the intended recipient" 2. All information in the email is mine to do with as I see fit and make such financial profit, political mileage, or good joke as it lends itself to. 3. I may take the contents as representing the views of your company. 4. This overrides any disclaimer or statement of confidentiality that may be included with your message. ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
