This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/21206] New: gcj seems not to pass the option to ld correctly


On Solaris 9 (x86) with gcc-4.0.0 and binutils-2.15,

mkdir GCC_OBJ
cd GCC_OBJ
../gcc4.0.0/configure --with-gnu-ld
make

gives us the following errors:

/hoge/gcc/GCC_OBJ/gcc/gcj -B/hoge/gcc/GC
C_OBJ/gcc/ -B/usr/local/i386-pc-solaris2.9/bin/ -B/usr/local/i386-pc-solaris2.9/
lib/ -isystem /usr/local/i386-pc-solaris2.9/include -isystem /usr/local/i386-pc-
solaris2.9/sys-include -ffloat-store -fno-omit-frame-pointer -g -O2 -o .libs/jv-
convert --main=gnu.gcj.convert.Convert -shared-libgcc  -L/export/home/yamasaki/s
ys/gcc/GCC_OBJ/i386-pc-solaris2.9/libjava -L/hoge/gcc/GCC_OB
J/i386-pc-solaris2.9/libjava/.libs ./.libs/libgcj.so -L/hoge
/gcc/GCC_OBJ/i386-pc-solaris2.9/libstdc++-v3/src -L/hoge/gcc
/GCC_OBJ/i386-pc-solaris2.9/libstdc++-v3/src/.libs -lpthread -lrt -ldl -L/export
/home/yamasaki/sys/gcc/GCC_OBJ/gcc -L/usr/local/i386-pc-solaris2.9/bin -L/usr/lo
cal/i386-pc-solaris2.9/lib -L/usr/local/lib/gcc/i386-pc-solaris2.9/../../../i386
-pc-solaris2.9/lib -L/usr/ccs/bin -L/usr/ccs/lib -L/usr/local/lib/gcc/i386-pc-so
laris2.9/../.. -lgcc_s -lgcc_s -Wl,--rpath -Wl,/usr/local/lib
/usr/local/i386-pc-solaris2.9/bin/ld: unrecognized option '-Wl,-rpath'
/usr/local/i386-pc-solaris2.9/bin/ld: use the --help option for usage informatio
n
collect2: ld returned 1 exit status
make[2]: *** [jv-convert] Error 1
make[2]: Leaving directory `/hoge/gcc/GCC_OBJ/i386-pc-solari
s2.9/libjava'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/hoge/gcc/GCC_OBJ/i386-pc-solari
s2.9/libjava'
make: *** [all-target-libjava] Error 2

-- 
           Summary: gcj seems not to pass the option to ld correctly
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: shanwill44 at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21206


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]