public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/39747] [4.5/4.5 Regression] libjavamath is linking against libgmp
       [not found] <bug-39747-6528@http.gcc.gnu.org/bugzilla/>
@ 2009-04-13  5:37 ` pinskia at gcc dot gnu dot org
  2009-04-13  8:17 ` rguenth at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-04-13  5:37 UTC (permalink / raw)
  To: java-prs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |java-prs at gcc dot gnu dot
                   |                            |org


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug libgcj/39747] [4.5/4.5 Regression] libjavamath is linking against libgmp
       [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
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-04-13  8:17 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-04-13 08:17 -------
It is?  Anyway, you should build static gmp with -fPIC.


-- 


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug libgcj/39747] [4.5/4.5 Regression] libjavamath is linking against libgmp
       [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
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-04-21 16:00 UTC (permalink / raw)
  To: java-prs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.0                       |4.4.1


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug libgcj/39747] [4.4/4.5 Regression] libjavamath is linking against libgmp
       [not found] <bug-39747-6528@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2009-04-21 16:00 ` jakub at gcc dot gnu dot org
@ 2009-04-27  6:54 ` jakub at gcc dot gnu dot org
  2009-04-27  7:17 ` pinskia at gmail dot com
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-04-27  6:54 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from jakub at gcc dot gnu dot org  2009-04-27 06:54 -------
This doesn't look like a GCC bug, but user error.


-- 


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug libgcj/39747] [4.4/4.5 Regression] libjavamath is linking against libgmp
       [not found] <bug-39747-6528@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  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
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gmail dot com @ 2009-04-27  7:17 UTC (permalink / raw)
  To: java-prs



------- Comment #4 from pinskia at gmail dot com  2009-04-27 07:16 -------
Subject: Re:  [4.4/4.5 Regression] libjavamath is linking against libgmp



Sent from my iPhone

On Apr 26, 2009, at 11:54 PM, "jakub at gcc dot gnu dot org"
<gcc-bugzilla@gcc.gnu.org 
 > wrote:

>
>
> ------- Comment #3 from jakub at gcc dot gnu dot org  2009-04-27  
> 06:54 -------
> This doesn't look like a GCC bug, but user error.

It is a gcc bug as this dependency is not documented this way. At  
least I could not find the documention for this one.

>
>
>
> -- 
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39747
>


-- 


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug libgcj/39747] [4.4/4.5 Regression] Installation documentation should suggest building libgmp as PIC
       [not found] <bug-39747-6528@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2009-04-27  7:17 ` pinskia at gmail dot com
@ 2009-05-05 15:39 ` mmitchel at gcc dot gnu dot org
  2009-07-22 10:30 ` jakub at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2009-05-05 15:39 UTC (permalink / raw)
  To: java-prs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
            Summary|[4.4/4.5 Regression]        |[4.4/4.5 Regression]
                   |libjavamath is linking      |Installation documentation
                   |against libgmp              |should suggest building
                   |                            |libgmp as PIC


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug libgcj/39747] [4.4/4.5 Regression] Installation documentation should suggest building libgmp as PIC
       [not found] <bug-39747-6528@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  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
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-07-22 10:30 UTC (permalink / raw)
  To: java-prs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.1                       |4.4.2


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug libgcj/39747] [4.4/4.5 Regression] Installation documentation should suggest building libgmp as PIC for building with libjava
       [not found] <bug-39747-6528@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2009-07-22 10:30 ` jakub at gcc dot gnu dot org
@ 2009-10-05 20:06 ` pinskia at gcc dot gnu dot org
  2009-10-15 12:50 ` jakub at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-10-05 20:06 UTC (permalink / raw)
  To: java-prs



------- Comment #5 from pinskia at gcc dot gnu dot org  2009-10-05 20:06 -------
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-10-05 20:06:26
               date|                            |
            Summary|[4.4/4.5 Regression]        |[4.4/4.5 Regression]
                   |Installation documentation  |Installation documentation
                   |should suggest building     |should suggest building
                   |libgmp as PIC               |libgmp as PIC for building
                   |                            |with libjava


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug libgcj/39747] [4.4/4.5 Regression] Installation documentation should suggest building libgmp as PIC for building with libjava
       [not found] <bug-39747-6528@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-10-15 12:50 UTC (permalink / raw)
  To: java-prs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.2                       |4.4.3


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug libgcj/39747] [4.4/4.5 Regression] Installation documentation should suggest building libgmp as PIC for building with libjava
       [not found] <bug-39747-6528@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2009-10-15 12:50 ` jakub at gcc dot gnu dot org
@ 2010-01-15 16:45 ` David dot Biesack at sas dot com
  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
  11 siblings, 0 replies; 13+ messages in thread
From: David dot Biesack at sas dot com @ 2010-01-15 16:45 UTC (permalink / raw)
  To: java-prs



------- 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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug libgcj/39747] [4.4/4.5 Regression] Installation documentation should suggest building libgmp as PIC for building with libjava
       [not found] <bug-39747-6528@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2010-01-15 16:45 ` David dot Biesack at sas dot com
@ 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
  11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-01-21 13:13 UTC (permalink / raw)
  To: java-prs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.3                       |4.4.4


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug libgcj/39747] [4.4/4.5/4.6 Regression] Installation documentation should suggest building libgmp as PIC for building with libjava
       [not found] <bug-39747-6528@http.gcc.gnu.org/bugzilla/>
                   ` (10 preceding siblings ...)
  2010-01-21 13:13 ` jakub at gcc dot gnu dot org
@ 2010-04-30  8:53 ` jakub at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-04-30  8:53 UTC (permalink / raw)
  To: java-prs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.4                       |4.4.5


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug libgcj/39747] [4.4/4.5/4.6 Regression] Installation documentation should suggest building libgmp as PIC for building with libjava
       [not found] <bug-39747-8172@http.gcc.gnu.org/bugzilla/>
@ 2010-10-01 11:54 ` jakub at gcc dot gnu.org
  0 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-10-01 11:54 UTC (permalink / raw)
  To: java-prs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.5                       |4.4.6


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-10-01 11:54 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [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
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
     [not found] <bug-39747-8172@http.gcc.gnu.org/bugzilla/>
2010-10-01 11:54 ` jakub at gcc dot gnu.org

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).