From: Philipp Rumpf <prumpf@inwestnet.de>
To: blacky@xanaxis.dyndns.org
Cc: parisc-linux <parisc-linux@thepuffingroup.com>
Subject: Re: [parisc-linux] undefined reference in libgcc.a
Date: Sat, 11 Mar 2000 19:22:26 +0100 [thread overview]
Message-ID: <20000311192226.D5281@abacus.local> (raw)
In-Reply-To: <MDAEMON80008200003111913.AA1339046@xanaxis.dyndns.org>; from blacky@xanaxis.dyndns.org on Sat, Mar 11, 2000 at 07:13:39PM +0100
> I've been trying to make a parisc-linux crosscompiler from a
> i586-linux-gnu platform, the binutils build with no problems, but
> at the final stage of building gcc it stops at the libgcc-test
> with the following error :
>
> libgcc1-test.o: In function `main_without__main':
> /home/blacky/cvs/build/gcc/../../gcc/gcc/libgcc1-test.c:20: undefined reference to `$global$'
>
> it seems to reference to the integer-divide function in libgcc.
>
> How can I get around this problem ?
The Easy Way: remove the rule to build libgcc1-test out of the gcc Makefile.
AIUI, the right way would be to supply a crt1.o (or similar) that defines
$global$, _start aso.
Philipp Rumpf
next prev parent reply other threads:[~2000-03-11 19:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-11 18:13 [parisc-linux] undefined reference in libgcc.a blacky
2000-03-11 18:22 ` Philipp Rumpf [this message]
2000-03-12 20:52 ` [parisc-linux] HIL_BASE ("finding" devices) Brian S. Julin
2000-03-12 21:13 ` Philipp Rumpf
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=20000311192226.D5281@abacus.local \
--to=prumpf@inwestnet.de \
--cc=blacky@xanaxis.dyndns.org \
--cc=parisc-linux@thepuffingroup.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.