Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc 4.2 on 10.4 tiger: ld: unknown flag: -compatibility_version



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:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden

References: 
 >gcc 4.2 on 10.4 tiger: ld: unknown flag: -compatibility_version (From: "YJZ" <email@hidden>)
 >Re: gcc 4.2 on 10.4 tiger: ld: unknown flag: -compatibility_version (From: Terry Lambert <email@hidden>)
 >Re: gcc 4.2 on 10.4 tiger: ld: unknown flag: -compatibility_version (From: Boyd Waters <email@hidden>)
 >Re: gcc 4.2 on 10.4 tiger: ld: unknown flag: -compatibility_version (From: "YJZ" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.