Re: potential linking issue with Xcode-4.2 on Lion

2011-10-17 Thread Adam Mercer
On Mon, Oct 17, 2011 at 17:07, Peter O'Gorman wrote: > Great, please file a radar with apple for it. Filed. #10299475 Cheers Adam ___ https://lists.gnu.org/mailman/listinfo/libtool

Re: potential linking issue with Xcode-4.2 on Lion

2011-10-17 Thread Peter O'Gorman
On 10/17/2011 05:02 PM, Adam Mercer wrote: On Mon, Oct 17, 2011 at 16:40, Peter O'Gorman wrote: Peter Does it work if you remove -mmacosx-version-min=10.4? That resulted in the same error, but your idea led me to remove each flag one by one and it turns out that the insane optimization leve

Re: potential linking issue with Xcode-4.2 on Lion

2011-10-17 Thread Adam Mercer
On Mon, Oct 17, 2011 at 16:40, Peter O'Gorman wrote: Peter > Does it work if you remove -mmacosx-version-min=10.4? That resulted in the same error, but your idea led me to remove each flag one by one and it turns out that the insane optimization level that was being used is the culprit. Removin

Re: potential linking issue with Xcode-4.2 on Lion

2011-10-17 Thread Peter O'Gorman
On 10/17/2011 01:48 PM, Adam Mercer wrote: Hi I testing some software I maintain using the recently release Xcode-4.2 on Mac OS X 10.7.2, and am running into the follow error during link: Hi, Does it work if you remove -mmacosx-version-min=10.4? Peter /bin/sh ../../../libtool --tag=CC

potential linking issue with Xcode-4.2 on Lion

2011-10-17 Thread Adam Mercer
Hi I testing some software I maintain using the recently release Xcode-4.2 on Mac OS X 10.7.2, and am running into the follow error during link: /bin/sh ../../../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -g3 -O4 -Wall -W -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wpointer-ari

RE: Help needed to build shared library with libtool

2011-10-17 Thread David Aldrich
Hi Peter I have tried using just g++ (no libtool) and the link succeeds. On this occasion it seems easiest for me just not to use libtool. Thanks for your help and advice. Best regards David ___ https://lists.gnu.org/mailman/listinfo/libtool