This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

libgcj/1246: link failure with multilib and/or "--disable-static" builds



>Number:         1246
>Category:       libgcj
>Synopsis:       link failure with multilib and/or "--disable-static" builds
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    tromey
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 20 12:18:14 PST 2000
>Closed-Date:    
>Last-Modified:  Fri May  5 09:20:00 PDT 2000
>Originator:     Bryce McKinlay
>Release:        unknown-1.0
>Organization:
>Environment:
linux
>Description:
libgcj build fails during linking of jv-convert with missing
symbol errors for libffi. 

The problem is related the following line in the makefile:

libffi_files = `$(AR) t ../libffi/.libs/libffi.a 2>/dev/null | sed 's/\.o/\.lo/g'
| sed 's/^/..\/libffi\//g'`

libffi.a does not exist in a "--disable-static" build.
>How-To-Repeat:

>Fix:
Build libffi as a shared library?

Hack libffi's Makefile so that libffi.a is allways built?

>Release-Note:
>Audit-Trail:

Formerly PR libgcj/221


From: Tom Tromey <tromey@cygnus.com>
To: bryce@albatross.co.nz
Cc: java-gnats@sourceware.cygnus.com, Anthony Green <green@cygnus.com>
Subject: Re: libgcj/221: link failure with multilib and/or "--disable-static" builds
Date: Fri, 5 May 2000 09:17:07 -0700 (PDT)

 Bryce> Build libffi as a shared library?
 Bryce> Hack libffi's Makefile so that libffi.a is allways built?
 
 We can solve this by building libffi as a convenience library.
 Then we let libtool do the hard work.
 
 But then we run up against the automake version problem.
 Grr.
 
 Tom
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]