public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/21943] New: O32 libffi.so fails to link on IRIX 6
@ 2005-06-06 23:05 gcc-bugzilla at gcc dot gnu dot org
  2005-06-09 18:54 ` [Bug libgcj/21943] " ro at techfak dot uni-bielefeld dot de
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2005-06-06 23:05 UTC (permalink / raw)
  To: gcc-bugs


Building the O32 libffi on IRIX 6.5 fails, thus we get a bootstrap failure
with --enable-libgcj:

/bin/ksh ./libtool --mode=link /.vol/gcc/obj/gcc-4.0.0-20050414/6.5-gcc-java/gcc/xgcc -B/.vol/gcc/obj/gcc-4.0.0-20050414/6.5-gcc-java/gcc/ -B/.vol/gcc/share/mips-sgi-irix6.5/bin/ -B/.vol/gcc/share/mips-sgi-irix6.5/lib/ -isystem /.vol/gcc/share/mips-sgi-irix6.5/include -isystem /.vol/gcc/share/mips-sgi-irix6.5/sys-include  -mabi=32 -Wall -g -fexceptions -O2 -g -O2  -mabi=32  -mabi=32 -o libffi.la -rpath /.vol/gcc/lib/../lib -version-info `grep -v '^#' /.vol/gcc/src/gcc-4.0-branch-dist/libffi/libtool-version` src/debug.lo src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/mips/ffi.lo src/mips/o32.lo src/mips/n32.lo                    
/.vol/gcc/obj/gcc-4.0.0-20050414/6.5-gcc-java/gcc/xgcc -B/.vol/gcc/obj/gcc-4.0.0-20050414/6.5-gcc-java/gcc/ -B/.vol/gcc/share/mips-sgi-irix6.5/bin/ -B/.vol/gcc/share/mips-sgi-irix6.5/lib/ -isystem /.vol/gcc/share/mips-sgi-irix6.5/include -isystem /.vol/gcc/share/mips-sgi-irix6.5/sys-include  -mabi=32 -shared  src/.libs/debug.o src/.libs/prep_cif.o src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o src/mips/.libs/ffi.o src/mips/.libs/o32.o src/mips/.libs/n32.o  -lc  -Wl,-soname -Wl,libffi.so.5 `test -n "sgi5.0:sgi5.1" && echo -Wl,-set_version -Wl,sgi5.0:sgi5.1` -Wl,-update_registry -Wl,.libs/so_locations -o .libs/libffi.so.5.1
ld: FATAL   45 : Non-PIC (src/mips/.libs/o32.o) used in shared/call_shared link.
collect2: ld returned 4 exit status
make[8]: *** [libffi.la] Error 1

Obviously the new O32 closure support isn't PIC code, causing the link
failure above.

This is a regression from 3.4.

Environment:
System: IRIX64 columba 6.5 10120104 IP27


	
host: mips-sgi-irix6.5
build: mips-sgi-irix6.5
target: mips-sgi-irix6.5
configured with: /.vol/gcc/src/gcc-4.0-branch-dist/configure --prefix=/.vol/gcc --with-local-prefix=/.vol/gcc --disable-nls --enable-libgcj --with-gmp-dir=/.vol/gcc/obj/gmp-4.1.3 --with-mpfr-dir=/.vol/gcc/obj/gmp-4.1.3 --with-gnu-as --with-as=/homes/ro/bin/gas-2.15

How-To-Repeat:
Bootstrap on mips-sgi-irix6.5 with --enable-libgcj.
------- Additional Comments From ro at techfak dot uni-bielefeld dot de  2005-06-06 23:04 -------
Fix:
Omit --enable-libgcj for now.

-- 
           Summary: O32 libffi.so fails to link on IRIX 6
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at techfak dot uni-bielefeld dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: mips-sgi-irix6.5
  GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5


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


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

* [Bug libgcj/21943] O32 libffi.so fails to link on IRIX 6
  2005-06-06 23:05 [Bug libgcj/21943] New: O32 libffi.so fails to link on IRIX 6 gcc-bugzilla at gcc dot gnu dot org
@ 2005-06-09 18:54 ` ro at techfak dot uni-bielefeld dot de
  2005-06-15  0:10 ` cvs-commit at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2005-06-09 18:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ro at techfak dot uni-bielefeld dot de  2005-06-09 18:54 -------
Subject: Re:  New: O32 libffi.so fails to link on IRIX 6

Patch submitted:

	http://gcc.gnu.org/ml/java-patches/2005-q2/msg00685.html


-- 


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


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

* [Bug libgcj/21943] O32 libffi.so fails to link on IRIX 6
  2005-06-06 23:05 [Bug libgcj/21943] New: O32 libffi.so fails to link on IRIX 6 gcc-bugzilla at gcc dot gnu dot org
  2005-06-09 18:54 ` [Bug libgcj/21943] " ro at techfak dot uni-bielefeld dot de
@ 2005-06-15  0:10 ` cvs-commit at gcc dot gnu dot org
  2005-06-15  0:12 ` ro at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-06-15  0:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-06-15 00:10 -------
Subject: Bug 21943

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	ro@gcc.gnu.org	2005-06-15 00:10:07

Modified files:
	libffi         : ChangeLog 
	libffi/src/mips: n32.S o32.S 

Log message:
	PR libgcj/21943
	* src/mips/n32.S: Enforce PIC code.
	* src/mips/o32.S: Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/ChangeLog.diff?cvsroot=gcc&r1=1.239&r2=1.240
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/src/mips/n32.S.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/src/mips/o32.S.diff?cvsroot=gcc&r1=1.6&r2=1.7



-- 


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


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

* [Bug libgcj/21943] O32 libffi.so fails to link on IRIX 6
  2005-06-06 23:05 [Bug libgcj/21943] New: O32 libffi.so fails to link on IRIX 6 gcc-bugzilla at gcc dot gnu dot org
  2005-06-09 18:54 ` [Bug libgcj/21943] " ro at techfak dot uni-bielefeld dot de
  2005-06-15  0:10 ` cvs-commit at gcc dot gnu dot org
@ 2005-06-15  0:12 ` ro at gcc dot gnu dot org
  2005-07-18 18:39 ` tromey at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ro at gcc dot gnu dot org @ 2005-06-15  0:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ro at gcc dot gnu dot org  2005-06-15 00:12 -------
Fixed for 4.1.0, queued for 4.0.2.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ro at gcc dot gnu dot org
                   |dot org                     |
                URL|                            |http://gcc.gnu.org/ml/java-
                   |                            |patches/2005-
                   |                            |q2/msg00685.html
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-15 00:12:03
               date|                            |


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


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

* [Bug libgcj/21943] O32 libffi.so fails to link on IRIX 6
  2005-06-06 23:05 [Bug libgcj/21943] New: O32 libffi.so fails to link on IRIX 6 gcc-bugzilla at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-06-15  0:12 ` ro at gcc dot gnu dot org
@ 2005-07-18 18:39 ` tromey at gcc dot gnu dot org
  2005-08-19 15:18 ` cvs-commit at gcc dot gnu dot org
  2005-08-19 18:51 ` [Bug libffi/21943] " pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-07-18 18:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tromey at gcc dot gnu dot org  2005-07-18 18:36 -------
Just FYI, 4.0.x is open again.
This fix could go in now.


-- 


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


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

* [Bug libgcj/21943] O32 libffi.so fails to link on IRIX 6
  2005-06-06 23:05 [Bug libgcj/21943] New: O32 libffi.so fails to link on IRIX 6 gcc-bugzilla at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-07-18 18:39 ` tromey at gcc dot gnu dot org
@ 2005-08-19 15:18 ` cvs-commit at gcc dot gnu dot org
  2005-08-19 18:51 ` [Bug libffi/21943] " pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-19 15:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-08-19 14:54 -------
Subject: Bug 21943

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	ro@gcc.gnu.org	2005-08-19 14:53:02

Modified files:
	libffi         : ChangeLog 
	libffi/src/mips: n32.S o32.S 

Log message:
	PR libgcj/21943
	* src/mips/n32.S: Enforce PIC code.
	* src/mips/o32.S: Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.222.2.5&r2=1.222.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/src/mips/n32.S.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.3&r2=1.3.72.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/src/mips/o32.S.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.6&r2=1.6.12.1



-- 


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


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

* [Bug libffi/21943] O32 libffi.so fails to link on IRIX 6
  2005-06-06 23:05 [Bug libgcj/21943] New: O32 libffi.so fails to link on IRIX 6 gcc-bugzilla at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-08-19 15:18 ` cvs-commit at gcc dot gnu dot org
@ 2005-08-19 18:51 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-19 18:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-19 18:43 -------
Fixed als in 4.0.2.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
          Component|libgcj                      |libffi
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.2


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


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

end of thread, other threads:[~2005-08-19 18:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-06 23:05 [Bug libgcj/21943] New: O32 libffi.so fails to link on IRIX 6 gcc-bugzilla at gcc dot gnu dot org
2005-06-09 18:54 ` [Bug libgcj/21943] " ro at techfak dot uni-bielefeld dot de
2005-06-15  0:10 ` cvs-commit at gcc dot gnu dot org
2005-06-15  0:12 ` ro at gcc dot gnu dot org
2005-07-18 18:39 ` tromey at gcc dot gnu dot org
2005-08-19 15:18 ` cvs-commit at gcc dot gnu dot org
2005-08-19 18:51 ` [Bug libffi/21943] " pinskia at gcc dot gnu dot 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).