public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "David dot Biesack at sas dot com" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug libgcj/39747] [4.4/4.5 Regression] Installation documentation should suggest building libgmp as PIC for building with libjava Date: Fri, 15 Jan 2010 16:45:00 -0000 [thread overview] Message-ID: <20100115164543.1613.qmail@sourceware.org> (raw) In-Reply-To: <bug-39747-6528@http.gcc.gnu.org/bugzilla/> ------- Comment #6 from David dot Biesack at sas dot com 2010-01-15 16:45 ------- I had this problem on a Linux x86_64 build, manifested with the error /usr/local/lib/libgmp.so: could not read symbols: File in wrong format collect2: ld returned 1 exit status ( http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42750 ) I'm adding that text here so that if someone else has that problem and searches for it, they can find this bug entry. How does one configure gmp to build correctly so that it can be used by gcc? I can't find any doc in the gmp configure/texinfo that describes how to do that. I ran configure for it and it says -fPIC works in the log, but it does not put -fPIC in the Makefile. I explicitly added it to the CFLAGS in my Makefile CFLAGS = -O2 -pedantic -m64 -mtune=k8 -fPIC and rebuilt it; make check work (in gmp). -- David dot Biesack at sas dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |David dot Biesack at sas dot | |com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39747
next prev parent reply other threads:[~2010-01-15 16:45 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-39747-6528@http.gcc.gnu.org/bugzilla/> 2009-04-13 5:37 ` [Bug libgcj/39747] [4.5/4.5 Regression] libjavamath is linking against libgmp pinskia at gcc dot gnu dot org 2009-04-13 8:17 ` rguenth at gcc dot gnu dot org 2009-04-21 16:00 ` jakub at gcc dot gnu dot org 2009-04-27 6:54 ` [Bug libgcj/39747] [4.4/4.5 " jakub at gcc dot gnu dot org 2009-04-27 7:17 ` pinskia at gmail dot com 2009-05-05 15:39 ` [Bug libgcj/39747] [4.4/4.5 Regression] Installation documentation should suggest building libgmp as PIC mmitchel at gcc dot gnu dot org 2009-07-22 10:30 ` jakub at gcc dot gnu dot org 2009-10-05 20:06 ` [Bug libgcj/39747] [4.4/4.5 Regression] Installation documentation should suggest building libgmp as PIC for building with libjava pinskia at gcc dot gnu dot org 2009-10-15 12:50 ` jakub at gcc dot gnu dot org 2010-01-15 16:45 ` David dot Biesack at sas dot com [this message] 2010-01-21 13:13 ` jakub at gcc dot gnu dot org 2010-04-30 8:53 ` [Bug libgcj/39747] [4.4/4.5/4.6 " jakub at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20100115164543.1613.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=java-prs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).