LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Emmanuel STAPF" <manu@stapf.org>
To: "'Brad Boyer'" <flar@pants.nu>
Cc: "'Kaoru Fukui'" <k_fukui@highway.ne.jp>,
	<linuxppc-dev@lists.linuxppc.org>
Subject: RE: Error when linking
Date: Sat, 20 Oct 2001 14:28:49 -0700	[thread overview]
Message-ID: <000401c159ae$35376950$650a000a@venice> (raw)
In-Reply-To: <20011020184710.1715A2B54A@marcus.pants.nu>


Indeed my problem is supposed to be around 50MB in size and as you
guessed I can't make it smaller.

I looked at the mailing list archive but I could not find what I should
use to make `ld' link my object files. So if anyone as the solution do
not hesitate to share it.

Thanks,
Manu

> -----Original Message-----
> From: Brad Boyer [mailto:flar@pants.nu]
> Sent: Saturday, October 20, 2001 11:47 AM
> To: manu@stapf.org
> Cc: 'Kaoru Fukui'; linuxppc-dev@lists.linuxppc.org
> Subject: Re: Error when linking
>
>
>
> I suspect the problem is that you're trying to call functions that the
> linker is putting farther apart than can be referenced in a 24 bit
> offset, which is the largest branch offset allowed with that type
> of call. Would your final program be bigger than 16M? Any branch with
> an offset more than 16M can't fit in a normal ppc branch instruction.
> If possible, you should make your program smaller, but if that isn't
> feasible, I seem to remember someone mentioning a way to make the
> linker do calls with absolute, 32 bit addresses. I just don't remember
> how to do it, and the ld manpages aren't the best in the world for
> architecture specific stuff. This came up once before on the mailing
> list, so you might try to search the archives.
>
> 	Brad Boyer
> 	flar@allandria.com
>
> Emmanuel STAPF wrote:
> >
> >
> > I should add that they occur only when I have my 1000
> files. A similar
> > project using those C function but smaller compiles without
> any problem.
> >
> > Any idea why and what are the possible solutions?
> > Manu
> >
>
>


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2001-10-20 21:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-20  7:03 Error when linking Emmanuel STAPF
2001-10-20  7:25 ` Kaoru Fukui
2001-10-20 16:27   ` Emmanuel STAPF
2001-10-20 18:47     ` Brad Boyer
2001-10-20 21:28       ` Emmanuel STAPF [this message]
2001-10-21  4:26         ` Brad Boyer
2001-10-25 15:55           ` Emmanuel STAPF
2001-11-06  8:55             ` Strange warning during C compilation Emmanuel STAPF
2001-11-06  9:55               ` Franz Sirl

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='000401c159ae$35376950$650a000a@venice' \
    --to=manu@stapf.org \
    --cc=flar@pants.nu \
    --cc=k_fukui@highway.ne.jp \
    --cc=linuxppc-dev@lists.linuxppc.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