Re: gcc 4.2 on 10.4 tiger: ld: unknown flag: -compatibility_version
Re: gcc 4.2 on 10.4 tiger: ld: unknown flag: -compatibility_version
- Subject: Re: gcc 4.2 on 10.4 tiger: ld: unknown flag: -compatibility_version
- From: Peter O'Gorman <email@hidden>
- Date: Sun, 13 Jul 2008 20:18:10 -0500
YJZ wrote:
> Included below please find the output of both using "gcc-4.2 -v":
>
> 1) gettext 1.6 during "jhbuild bootstrap". This seems to fail regardless of whether "gcc_select" is set to 4.0 or 4.2, as long as "export CC=/usr/bin/gcc-4.2" is set.
>
> ls -al /usr/bin/gcc
> lrwxr-xr-x 1 root wheel 7 Jul 13 18:32 /usr/bin/gcc -> gcc-4.0
>
> echo $CC
> /usr/bin/gcc-4.2 -v
>
> make
> ...
> /usr/bin/gcc-4.2 ... -Wl,-compatibility_version -Wl,9 -Wl,-current_version -Wl,9.1
This looks like a bug in GNU libtool that was fixed quite a while ago,
at the time it only broke building gcc itself though.
Updating the package to a later version of libtool should fix it. Please
let me know the libtool version etc involved (./libtool --config in the
build directory.
Thanks,
Peter
--
Peter O'Gorman
http://pogma.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden