public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Steinar Bang <sb@dod.no>
To: gcc@gcc.gnu.org
Cc: java@gcc.gnu.org
Subject: Re: GCC 4.1: Buildable on GHz machines only?
Date: Sun, 08 May 2005 14:34:00 -0000	[thread overview]
Message-ID: <87is1uxe3j.fsf@dod.no> (raw)
In-Reply-To: <7F542604-BDDA-11D9-BFB1-003065BDF310@apple.com>

>>>>> Mike Stump <mrs@apple.com>:

> On Thursday, May 5, 2005, at 02:53  PM, Andi Vajda wrote:
>> I wish the same were possible on Linux and Mac OS X but I have not
>> been able to create a shared library that is statically linked
>> against libgcj.a

> Should just work, though, you don't want to link -static built objects 
> into a .dylib, you merely want to link in -fPIC built objects from a .a 
> into the dylib.  Can you manage to do this with a small example?

It's possible to do this.  I've done it on linux.  But if pieces of
the .a appear in several .so files, and if these pieces comes from
different versions, or different build configurations of the .a, there
may be trouble.

If you use -Bsymbolic when linking the .so files, you _may_ be able to
make each .so file see the symbols from its own .a file.  I wasn't
able to make it do this.  I was only able to use it to make an .so
look inside itself for symbols, before looking at the globally
available symbols.

More here:
	http://thread.gmane.org/gmane.text.xml.expat.general/920


  reply	other threads:[~2005-05-08 10:38 UTC|newest]

Thread overview: 306+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-27  3:40 Matt Thomas
2005-04-27  4:59 ` Daniel Jacobowitz
2005-04-27  5:45   ` Richard Henderson
2005-04-27  5:50     ` Matt Thomas
2005-04-27  6:12       ` Gary Funck
2005-04-27  6:36         ` Matt Thomas
2005-04-27  6:40           ` Zack Weinberg
2005-04-27 14:47           ` David Edelsohn
2005-04-27 15:20             ` Matt Thomas
2005-04-27 15:45               ` Jonathan Wakely
2005-04-27 15:56                 ` Matt Thomas
2005-04-27 16:35                   ` Daniel Jacobowitz
2005-04-27 20:07                   ` Steven Bosscher
2005-04-27 20:36                     ` Paul Koning
2005-04-27 20:41                       ` sjhill
2005-04-27 20:50                       ` Steven Bosscher
2005-04-27 20:52                         ` Diego Novillo
2005-04-27 20:57                         ` Paul Koning
2005-04-27 21:04                           ` Andrew Pinski
2005-04-27 21:40                             ` Paul Koning
2005-04-27 22:13                               ` Andrew Pinski
2005-04-28 10:08                               ` Andrew Haley
2005-04-29  4:44                                 ` 'make bootstrap' oprofile (13% on bash?) Scott A Crosby
2005-04-29 10:06                                   ` Andrew Haley
2005-04-29 14:42                                     ` Scott A Crosby
2005-04-29 14:59                                       ` Andrew Haley
2005-04-28 13:35                             ` GCC 4.1: Buildable on GHz machines only? Richard Earnshaw
2005-04-28 13:58                               ` Andrew Haley
2005-04-28 14:01                                 ` Richard Earnshaw
2005-04-28 14:20                                 ` Andreas Schwab
2005-04-28 16:10                                   ` Andrew Haley
2005-04-28 16:17                                     ` David Edelsohn
2005-04-28 16:53                                       ` Joe Buck
2005-04-28 16:59                                         ` David Edelsohn
2005-05-03 19:58                                           ` Alexandre Oliva
2005-05-03 22:04                                             ` Joe Buck
2005-05-03 23:47                                               ` Dave Korn
2005-05-03 23:52                                                 ` Peter O'Gorman
2005-05-04  0:02                                                   ` Dave Korn
2005-05-04  0:06                                               ` Peter O'Gorman
2005-05-04  0:49                                                 ` Richard Henderson
2005-05-04 10:32                                               ` Andrew Haley
2005-05-04 13:53                                                 ` H. J. Lu
2005-05-04 13:54                                                   ` Andrew Haley
2005-05-04 16:10                                                   ` Joe Buck
2005-05-04 16:22                                                     ` H. J. Lu
2005-05-04 16:38                                                       ` Joe Buck
2005-05-04 17:08                                                         ` Ian Lance Taylor
2005-05-04 18:11                                                           ` Joe Buck
2005-05-05  5:40                                                         ` Alan Modra
2005-05-16 14:03                                                         ` Peter Barada
     [not found]                                                           ` <42888FCF.4000207@adacore.com>
2005-05-16 14:08                                                             ` Richard Earnshaw
     [not found]                                                               ` <428895AA.204@adacore.com>
2005-05-16 14:17                                                                 ` Richard Earnshaw
     [not found]                                                                   ` <4288B3FA.40706@coyotegulch.com>
2005-05-16 16:18                                                                     ` Steven Bosscher
2005-05-16 16:20                                                                       ` Peter Barada
2005-05-16 17:06                                                                       ` Richard Earnshaw
2005-05-16 17:08                                                                         ` Daniel Berlin
2005-05-16 17:23                                                                           ` Richard Earnshaw
2005-05-16 18:13                                                                             ` Steven Bosscher
2005-05-16 18:54                                                                               ` Karel Gardas
2005-05-16 21:24                                                                                 ` Steven Bosscher
2005-05-16 22:18                                                                                   ` Joe Buck
2005-05-16 23:21                                                                                     ` Steven Bosscher
2005-05-16 20:34                                                                               ` Joseph S. Myers
2005-05-16 17:18                                                                         ` Steven Bosscher
2005-05-16 19:09                                                                         ` DJ Delorie
2005-05-16 19:13                                                                           ` Andrew Pinski
2005-05-16 19:45                                                                             ` DJ Delorie
2005-05-16 21:15                                                                               ` Karel Gardas
2005-05-16 21:33                                                                                 ` DJ Delorie
2005-05-16 21:44                                                                                   ` Karel Gardas
2005-05-16 22:02                                                                                     ` Peter Barada
2005-05-16 22:07                                                                                     ` DJ Delorie
2005-05-17  0:27                                                                                       ` Joe Buck
2005-05-17  0:59                                                                                         ` DJ Delorie
2005-05-18 12:08                                                                                       ` Karel Gardas
2005-05-16 15:28                                                             ` Paul Koning
2005-05-16 16:04                                                             ` Peter Barada
2005-05-16 17:26                                                               ` Paolo Bonzini
2005-05-16 17:51                                                                 ` Peter Barada
2005-05-16 18:26                                                               ` Georg Bauhaus
2005-05-16 18:50                                                               ` Russ Allbery
2005-05-16 19:29                                                                 ` Alexandre Oliva
2005-05-16 19:40                                                                   ` Russ Allbery
2005-05-16 20:13                                                                     ` Florian Weimer
2005-05-17  6:40                                                                       ` Alexandre Oliva
2005-05-17  4:58                                                                     ` Alexandre Oliva
2005-05-16 22:11                                                               ` Ralf Corsepius
     [not found]                                                               ` <1116279808.8237.625.camel@mccallum.corsepiu.local>
2005-05-16 22:41                                                                 ` Steven Bosscher
2005-05-17  1:09                                                                   ` Ralf Corsepius
2005-05-17  1:26                                                                     ` Steven Bosscher
2005-05-17  1:32                                                                       ` Steven Bosscher
2005-05-17  1:40                                                                         ` Joe Buck
2005-05-17  2:13                                                                           ` Steven Bosscher
2005-05-17 10:01                                                                             ` Ralf Corsepius
2005-05-17 10:20                                                                               ` Jonathan Wakely
2005-05-17 16:34                                                                                 ` Joel Sherrill <joel@OARcorp.com>
2005-05-17 17:09                                                                                   ` Jonathan Wakely
2005-05-17 17:56                                                                                   ` Joseph S. Myers
2005-05-17 20:56                                                                                     ` Gerald Pfeifer
2005-05-17 23:05                                                                                   ` [wwwdocs] bugs.html cleanup (was: GCC 4.1: Buildable on GHz machines )only? Gerald Pfeifer
2005-05-17 10:22                                                                               ` GCC 4.1: Buildable on GHz machines only? Karel Gardas
2005-05-17 18:18                                                                                 ` Alexandre Oliva
2005-05-17 19:04                                                                                   ` Karel Gardas
2005-05-17 21:03                                                                                     ` Joel Sherrill <joel@OARcorp.com>
2005-05-17 21:19                                                                                       ` Peter Barada
2005-05-17 21:24                                                                                         ` Joel Sherrill <joel@OARcorp.com>
2005-05-17 21:56                                                                                           ` Peter Barada
2005-05-21 17:31                                                                                         ` Kai Henningsen
2005-05-21 17:51                                                                                           ` Peter Barada
2005-05-29  4:37                                                                                             ` Kai Henningsen
     [not found]                                                                                       ` <27161322.1116363955980.JavaMail.root@dtm1eusosrv72.dtm.ops.eu.uu.net>
2005-05-17 22:52                                                                                         ` Toon Moene
2005-05-17 23:09                                                                                           ` Peter Barada
2005-05-18  0:00                                                                                             ` Jonathan Wilson
2005-05-18  8:05                                                                                               ` Ranjit Mathew
2005-05-18  8:57                                                                                                 ` Gabriel Dos Reis
2005-05-17 17:22                                                                               ` Joe Buck
2005-05-17 17:47                                                                                 ` Joel Sherrill <joel@OARcorp.com>
2005-05-17 18:56                                                                                   ` Joseph S. Myers
2005-05-17 22:20                                                                                     ` Hugh Sasse
2005-05-17 23:00                                                                                       ` Joseph S. Myers
2005-05-18 10:29                                                                                         ` Richard Earnshaw
2005-05-18 13:24                                                                                           ` Joseph S. Myers
2005-05-18  9:10                                                                                     ` Richard Sandiford
2005-05-18 13:21                                                                                       ` Joseph S. Myers
2005-05-19 21:53                                                                                         ` Richard Sandiford
2005-05-18  7:17                                                                                   ` Ralf Corsepius
2005-05-18 13:45                                                                                     ` Robert Dewar
2005-05-18 14:05                                                                                       ` Peter Barada
2005-05-18 15:27                                                                                         ` Robert Dewar
2005-05-17 19:29                                                                               ` Gabriel Dos Reis
2005-05-17 20:03                                                                               ` Marcin Dalecki
2005-05-17 10:16                                                                       ` Richard Earnshaw
2005-05-17 10:50                                                                         ` Steven Bosscher
2005-05-17 10:52                                                                           ` Richard Earnshaw
2005-05-17 11:37                                                                           ` Ralf Corsepius
2005-05-17 12:18                                                                             ` Steven Bosscher
2005-05-17 12:59                                                                               ` Ralf Corsepius
2005-05-17 11:39                                                                           ` Eric Botcazou
2005-05-17 20:14                                                                         ` Marcin Dalecki
2005-05-17 21:03                                                                           ` Paul Brook
2005-05-18 10:13                                                                             ` Richard Earnshaw
2005-05-17 16:02                                                                       ` Joel Sherrill <joel@OARcorp.com>
2005-05-17  9:14                                                                   ` Peter Barada
2005-05-17  9:29                                                                     ` Michael Veksler
2005-05-17  9:36                                                                     ` Karel Gardas
2005-05-16 19:04                                                             ` Alexandre Oliva
2005-05-16 20:03                                                               ` Hugh Sasse
2005-05-16 20:15                                                                 ` Mike Stump
2005-04-28 16:38                                 ` Ian Lance Taylor
2005-04-28 16:45                                   ` Andrew Haley
2005-04-28 16:56                                     ` David Edelsohn
2005-04-28  1:58                           ` Tom Tromey
2005-04-28 13:52                             ` Richard Earnshaw
2005-05-02  8:51                               ` Marc Espie
2005-05-02 14:27                                 ` Peter O'Gorman
2005-05-02 18:04                                   ` Joe Buck
2005-04-28 16:53                             ` Joe Buck
2005-04-28 17:10                               ` Andrew Haley
2005-04-28 17:53                           ` David Carlton
2005-04-28 18:08                             ` Peter Barada
2005-04-28 18:10                           ` Matt Thomas
2005-04-28 18:16                             ` Joe Buck
2005-04-28 18:42                             ` David Edelsohn
2005-04-28 21:50                             ` Daniel Berlin
2005-04-28 22:04                               ` Daniel Berlin
2005-04-27 20:59                         ` Karel Gardas
2005-04-28  2:18                           ` Marcin Dalecki
2005-04-28 10:20                             ` Dave Korn
2005-04-28 11:32                               ` Marcin Dalecki
2005-05-02  8:42                       ` Marc Espie
2005-05-02 15:44                         ` Daniel Berlin
2005-04-27 23:35                     ` Stan Shebs
2005-04-27 23:40                       ` Daniel Berlin
2005-04-27 23:48                         ` Zack Weinberg
2005-04-27 23:49                           ` Zack Weinberg
2005-04-28  0:16                           ` Daniel Berlin
2005-04-28  0:28                             ` Zack Weinberg
2005-04-28  1:01                               ` Daniel Berlin
2005-04-28  1:06                                 ` Zack Weinberg
2005-04-28  1:44                               ` Peter Barada
2005-04-28  1:58                                 ` Marcin Dalecki
2005-04-28  3:21                                 ` Zack Weinberg
2005-04-28  3:53                                   ` Peter Barada
2005-04-28  4:55                                     ` Zack Weinberg
2005-04-28  8:03                                   ` Thorsten Glaser
2005-04-28 13:35                                     ` Daniel Jacobowitz
2005-04-28 15:58                                 ` Joel Sherrill <joel@OARcorp.com>
2005-04-28 16:09                                   ` Peter Barada
2005-04-28 16:21                                     ` Daniel Berlin
2005-04-28 17:31                                       ` Devang Patel
2005-04-28 18:03                                         ` Daniel Berlin
2005-04-28 18:12                                           ` Devang Patel
2005-04-28 18:31                                             ` Daniel Berlin
2005-04-28  9:30                             ` Karel Gardas
2005-04-28 16:03                           ` Gunther Nikl
2005-04-28 16:26                           ` Daniel Berlin
2005-04-29 12:02                           ` Lars Segerlund
2005-04-29 15:21                             ` Daniel Jacobowitz
2005-05-03  8:15                               ` Mike Stump
2005-04-27 23:42                       ` Joe Buck
2005-04-28  1:59                         ` Marcin Dalecki
2005-04-29 21:37                         ` Stan Shebs
2005-04-28  1:48                     ` Marcin Dalecki
2005-04-28 13:35                     ` Richard Earnshaw
2005-04-28 15:01                       ` Lars Segerlund
2005-04-28 17:26                         ` Marcin Dalecki
2005-04-30 19:22                         ` Giovanni Bajo
2005-04-29  7:09                     ` Jason Thorpe
2005-04-30 19:24                       ` Giovanni Bajo
2005-04-30 23:06                         ` Nix
2005-04-27 15:52               ` David Edelsohn
2005-04-27 16:02                 ` Richard Earnshaw
2005-04-27 16:29                   ` David Edelsohn
2005-04-27 16:33                     ` Richard Earnshaw
2005-04-27 16:34                       ` Richard Earnshaw
2005-04-30 19:33                   ` Giovanni Bajo
2005-04-27 16:19                 ` Dave Korn
2005-04-28 15:44               ` Gunther Nikl
2005-04-28 18:24               ` Ian Lance Taylor
2005-04-28 19:01                 ` Hugh Sasse
2005-04-29 10:16                 ` Andrew Haley
2005-04-29 10:57                   ` Jakub Jelinek
2005-05-03 20:02                     ` Alexandre Oliva
2005-04-29 15:36                   ` Ian Lance Taylor
2005-04-29 16:08                     ` Andreas Schwab
2005-04-29 16:08                       ` Ian Lance Taylor
2005-04-29 17:30                       ` Andrew Haley
2005-04-29 18:52                         ` Ian Lance Taylor
2005-04-29 19:18                           ` Joe Buck
2005-04-29 19:35                           ` Andrew Haley
2005-04-29 22:58                             ` Ian Lance Taylor
2005-04-29 23:32                               ` Joe Buck
2005-04-29 23:51                                 ` Richard Henderson
2005-04-30  0:05                                   ` Hugh Sasse
2005-04-30  0:10                                 ` Matt Thomas
2005-04-30  0:54                                   ` David Daney
2005-04-30 12:14                                   ` Andrew Haley
2005-05-01 22:54                                     ` Kai Henningsen
2005-05-06 19:49                                   ` Tom Tromey
2005-04-30  2:59                                 ` Ian Lance Taylor
2005-04-30  9:33                                   ` Joe Buck
2005-05-03  7:42                                     ` Mike Stump
2005-04-29 20:54                           ` Richard Henderson
2005-04-30 11:25                             ` Andrew Haley
2005-05-01  3:48                               ` libjava build times Richard Henderson
2005-05-01  9:16                                 ` Andrew Haley
2005-05-01 22:37                                   ` Thorsten Glaser
2005-05-02  4:54                                     ` Richard Henderson
2005-05-03 20:06                             ` GCC 4.1: Buildable on GHz machines only? Alexandre Oliva
2005-04-29  9:44             ` Jason Thorpe
2005-04-29 16:32               ` Ian Lance Taylor
2005-04-29 17:12                 ` Diego Novillo
2005-04-30 19:40                 ` Giovanni Bajo
2005-05-01  1:51                   ` Jason Thorpe
2005-05-02  0:41                     ` Giovanni Bajo
2005-04-29 17:29               ` Joe Buck
2005-04-27 21:25           ` Mike Stump
2005-04-27 21:30             ` Matt Thomas
2005-04-27  7:58       ` Dan Nicolaescu
2005-04-29  3:30         ` Dan Nicolaescu
2005-04-27 19:45       ` Mark Mitchell
2005-05-05  0:09         ` Per Bothner
2005-05-05  1:51           ` David Daney
2005-05-05  6:51           ` Ranjit Mathew
2005-05-05 11:54             ` Ranjit Mathew
2005-05-05 14:57             ` Tom Tromey
2005-05-05 15:52               ` Per Bothner
2005-05-05 16:01                 ` Andrew Haley
2005-05-05 20:10                   ` Alexandre Oliva
2005-05-05 21:03                     ` Richard Henderson
2005-05-05 21:08                       ` David Daney
2005-05-06 20:00                         ` Tom Tromey
2005-05-07 23:29                           ` Andi Kleen
2005-05-09  8:12                             ` Fernando Lozano
2005-05-09 14:53                             ` Richard Earnshaw
2005-05-05 21:13                       ` Rutger Ovidius
2005-05-05 23:38                         ` Tom Tromey
2005-05-06  6:36                           ` Ranjit Mathew
2005-05-06  8:47                         ` Andrew Haley
2005-05-06 15:07                           ` Rutger Ovidius
2005-05-06 15:31                             ` Andrew Haley
2005-05-06 16:14                               ` Rutger Ovidius
2005-05-06 16:31                                 ` Andrew Haley
2005-05-06 17:10                                   ` Rutger Ovidius
2005-05-06 17:27                                   ` Marcin Dalecki
2005-05-06 19:08                               ` Joe Buck
2005-05-06 15:49                             ` Mark Wielaard
2005-05-06 16:29                             ` wfor
2005-05-05 21:54                       ` Andi Vajda
2005-05-06  2:58                         ` Mike Stump
2005-05-08 14:34                           ` Steinar Bang [this message]
2005-05-06  7:21               ` Paolo Bonzini
2005-05-06  9:56                 ` Paolo Bonzini
2005-05-06 15:51                 ` Per Bothner
2005-05-06 17:23                   ` Bug in multifile operation? Paolo Bonzini
2005-05-06  7:35               ` GCC 4.1: Buildable on GHz machines only? Paolo Bonzini
2005-04-27  6:24 ` Ian Lance Taylor
2005-04-27 19:57   ` Tom Tromey
2005-04-27 23:53 Daniel Kegel
2005-04-28  1:17 ` Peter Barada
2005-04-29  0:37   ` Dan Kegel
2005-04-29  5:05     ` Peter Barada
2005-04-29 16:47       ` Dan Kegel
2005-05-06  6:33 Jason Mancini
2005-05-06 20:03 Haren Visavadia

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=87is1uxe3j.fsf@dod.no \
    --to=sb@dod.no \
    --cc=gcc@gcc.gnu.org \
    --cc=java@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: link
Be 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).