This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/49441] @LDLIBICONV@ lost from installed libgcj.spec
- From: "howarth at nitro dot med.uc.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 17 Jun 2011 12:50:53 +0000
- Subject: [Bug java/49441] @LDLIBICONV@ lost from installed libgcj.spec
- Auto-submitted: auto-generated
- References: <bug-49441-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49441
--- Comment #3 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-06-17 12:50:52 UTC ---
How is gcj supposed to properly find its linkage libraries on x86_64 linux when
using -m32? Since only a single copy of libgcj.spec is installed and used for
both the default -m64 and -m32, this seems impossible to handle both via that
mechanism (ie passing -L/usr/lib64 -liconv for -m64 and -L/usr/lib -liconv for
-m32). It seems much better to simply drop @LDLIBICONV@ entirely from
libgcj,spec.in and move @LDLIBICONV@ onto the linkage of libgcj itself (since
it seems to be the only place were the iconv symbols are generated or used).