public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Mark Galeck (CW)" <mgaleck@Brocade.com>
To: "Mark Galeck (CW)" <mgaleck@Brocade.com>,
	       Jonathan Wakely	<jwakely.gcc@gmail.com>
Cc: "gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>
Subject: RE: why is g++ relocation error linking only showing when listing objects explicitly?
Date: Fri, 21 Dec 2012 14:36:00 -0000	[thread overview]
Message-ID: <CB4696DA7737D0409230B481D0363B1414F07B6718@HQ1-EXCH03.corp.brocade.com> (raw)
In-Reply-To: <CB4696DA7737D0409230B481D0363B1414F07B6713@HQ1-EXCH03.corp.brocade.com>

>How do I turn the foobar.a into the foobar.so  ???


OK, I got it

>g++ -Wl,--whole-archive foobar.a -o foobar.so



Except...  of course, again I get 

relocation truncated to fit: R_PPC_PLTREL24 against symbol...

BACK TO SQUARE ONE


yes foobar.a is 140MB.  What to do??



Thank you,

Mark



  reply	other threads:[~2012-12-21 14:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1355719810.9320.ezmlm@gcc.gnu.org>
2012-12-17  4:59 ` Mark Galeck (CW)
2012-12-21  9:38 ` Mark Galeck (CW)
2012-12-21 10:40   ` Jonathan Wakely
2012-12-21 14:04     ` Mark Galeck (CW)
2012-12-21 14:29       ` Mark Galeck (CW)
2012-12-21 14:36         ` Mark Galeck (CW) [this message]
2012-12-21 14:47           ` Andrew Haley
2012-12-21 14:57             ` Mark Galeck (CW)
2012-12-21 15:07               ` Andrew Haley
2012-12-21 15:10                 ` Mark Galeck (CW)
2012-12-21 15:17                   ` Andrew Haley

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=CB4696DA7737D0409230B481D0363B1414F07B6718@HQ1-EXCH03.corp.brocade.com \
    --to=mgaleck@brocade.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=jwakely.gcc@gmail.com \
    /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).