bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Invalid switch passed to linker on Solaris 10 with Sun One Studio 8


From: Damien Carbery
Subject: Invalid switch passed to linker on Solaris 10 with Sun One Studio 8
Date: Fri, 08 Apr 2005 11:38:49 +0100

I am building Gnome from HEAD (Gnome 2.11?).
Without changing my version of libtool (1.5 (1.1220 2003/04/05 19:32:58)) some 
modules have started breaking with the following error:

 ld: fatal: option -z has illegal argument `-Wl,allextract'
 ld: fatal: option -z has illegal argument `-Wl,defaultextract'

I upgraded to libtool 1.5.14 but no change.
This appears to be caused by:
whole_archive_flag_spec="\${wl}-z \${wl}allextract\$convenience \${wl}-z 
\${wl}defaultextract"
in libtool (and multiple other files).

Removing \${wl} prefix from allextract and defaultextract from the 'libtool' 
created in the Gnome module's build directory fixes the issue.
Obviously I would like to fix the core issue in my environment and then get the 
fix upstream.

$ ./config.guess
sparc-sun-solaris2.10
$ cc -V
cc: Sun C 5.5 Patch 112760-08 2004/02/20
$ ./configure
[output attached]

Any suggestions welcome.

Damien
Gnome Release Engineer, Sun Ireland

Attachment: configure-1.5.14.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]