On 7/3/2012 7:12 PM, Andreas Bießmann wrote: > Dear Hanspeter Niederstrasser, > > On 03.07.12 15:33, Hanspeter Niederstrasser wrote: >> On 7/2/2012 10:06 PM, Jack Howarth wrote: >>> Is anyone else seeing frei0r-dev-1.3-1 fail to build on fink 10.7 under >>> Xcode 4.3.3? >>> I am seeing... > > <snip clang segfault> > >> Jack, >> >> Can you test if it works by adding this PatchScript to the frei0r-dev.info ? >> >> PatchScript: << >> #!/bin/sh -ev >> ### clang-3.1svn from Xcode 4.3.3 doesn't like compiling this at -O2, >> ### so downgrade pr0be.c to -O1 >> cp -p src/Makefile.in src/Makefile.in.new >> awk '/pr0be.Tpo/ { sub(/\$\(CFLAGS\)/,"-g -O1")} { print > >> "src/Makefile.in.new" }' src/Makefile.in >> mv src/Makefile.in.new src/Makefile.in >> << >> > > I can confirm that lowering the optimization level for files work out, > but I need to lower two more files here. I used the following patch > script to successfully compile frei0r-dev-1.3-1 with 10.7 and Xcode 4.3.3: > > ---8<--- > PatchScript: << > #!/bin/sh -ev > ### clang-3.1svn from Xcode 4.3.3 doesn't like compiling this at -O2, > ### so downgrade pr0be.c to -O1 > cp -p src/Makefile.in src/Makefile.in.new > awk '/(pr0be|test_pat_B|test_pat_C).Tpo/ { sub(/\$\(CFLAGS\)/,"-g > -O1")} { print > "src/Makefile.in.new" }' src/Makefile.in > mv src/Makefile.in.new src/Makefile.in > << > --->8---
Andreas, Thanks for the extended fix. I knew other object files had the same issue, but didn't know how many more. This is now in CVS. Hanspeter ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel