From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25732 invoked by alias); 6 Jan 2011 19:07:32 -0000 Received: (qmail 25716 invoked by uid 22791); 6 Jan 2011 19:07:31 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,TW_IB,TW_LR X-Spam-Check-By: sourceware.org Received: from vexpert.dbai.tuwien.ac.at (HELO vexpert.dbai.tuwien.ac.at) (128.131.111.2) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 06 Jan 2011 19:07:26 +0000 Received: from acrux.dbai.tuwien.ac.at (acrux.dbai.tuwien.ac.at [128.131.111.60]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by vexpert.dbai.tuwien.ac.at (Postfix) with ESMTPS id 548741E037; Thu, 6 Jan 2011 20:07:22 +0100 (CET) Date: Thu, 06 Jan 2011 19:07:00 -0000 From: Gerald Pfeifer To: java@gcc.gnu.org cc: gcc@gcc.gnu.org, Ralf Wildenhues , Loren James Rittle Subject: Unrecognized option '-Wl,-rpath' for jv-convert Message-ID: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2011-01/txt/msg00001.txt.bz2 I am trying to debug this, alas not very successfully so far and am looking for a pointer or two. This happens with head as well; binutils (/usr/local/bin/ld) is 2.20.1. Note 1: This can be avoid configuring with --disable-rpath. GCC understands --disable-rpath, yet the string "rpath" does not occur in _any_ *.texi file. Could someone donate a bit of documentation? I'll be happy to include that in our install documentation. Note 2: I did not set -rpath to begin with, this is something libjava does, and I am wondering whether this is correct to begin with? libtool: link: /usr/nabil-files/pfeifer/porttest/gcc45/work/build/./gcc/gcj -B/usr/nabil-files/pfeifer/porttest/gcc45/work/build/i386-portbld-freebsd7.2/libjava/ -B/usr/nabil-files/pfeifer/porttest/gcc45/work/build/./gcc/ -B/files/pfeifer//gcc45/i386-portbld-freebsd7.2/bin/ -B/files/pfeifer//gcc45/i386-portbld-freebsd7.2/lib/ -isystem /files/pfeifer//gcc45/i386-portbld-freebsd7.2/include -isystem /files/pfeifer//gcc45/i386-portbld-freebsd7.2/sys-include -ffloat-store -fomit-frame-pointer -Usun -g -O2 -o .libs/jv-convert --main=gnu.gcj.convert.Convert -shared-libgcc -pthread -L/usr/nabil-files/pfeifer/porttest/gcc45/work/build/i386-portbld-freebsd7.2/libjava/.libs -L/usr/nabil-files/pfeifer/porttest/gcc45/work/build/i386-portbld-freebsd7.2/libjava ./.libs/libgcj.so -lrt -lz -pthread -Wl,-rpath -Wl,/files/pfeifer//gcc45/lib/gcc45 /usr/local/bin/ld: unrecognized option '-Wl,-rpath' /usr/local/bin/ld: use the --help option for usage information collect2: ld returned 1 exit status gmake[3]: *** [jv-convert] Error 1 where the actual invocation is the following: /bin/sh ./libtool --tag=GCJ --mode=link /usr/nabil-files/pfeifer/porttest/gcc45/work/build/./gcc/gcj -B/usr/nabil-files/pfeifer/porttest/gcc45/work/build/i386-portbld-freebsd7.2/libjava/ -B/usr/nabil-files/pfeifer/porttes t/gcc45/work/build/./gcc/ -B/files/pfeifer//gcc45/i386-portbld-freebsd7.2/bin/ -B/files/pfeifer//gcc45/i386-por tbld-freebsd7.2/lib/ -isystem /files/pfeifer//gcc45/i386-portbld-freebsd7.2/include -isystem /files/pfeifer//gcc45/i386-portbld-freebsd7.2/sys-include -L/usr/nabil-files/pfeifer/porttest/gcc45/work/build/i386-portbld-freebsd7.2/libjava -ffloat-store -fomit-frame-pointer -Usun -g -O2 -o jv-convert --main=gnu.gcj.convert.Convert -rpath /files/pfeifer//gcc45/lib/gcc45 -shared-libgcc -pthread -L/usr/nabil-files/pfeifer/porttest/gcc45/work /build/i386-portbld-freebsd7.2/libjava/.libs libgcj.la Gerald