From: Randolph Chung <randolph@tausq.org>
To: John David Anglin <dave@hiauly1.hia.nrc.ca>
Cc: gcc@gcc.gnu.org, parisc-linux@parisc-linux.org
Subject: Re: [parisc-linux] Problem building gcc-3.2 (cvs head) on hppa-linux
Date: Fri, 12 Jul 2002 09:56:16 -0700 [thread overview]
Message-ID: <20020712165616.GA8724@tausq.org> (raw)
In-Reply-To: <200207121344.g6CDi4vc017066@hiauly1.hia.nrc.ca>
> Yes. This is one of the manifestations of the the long call bug
> in 3.0.4. You need to use "-O2" in STAGE1_CFLAGS to work around
> it or use gcc 3.1 later as a bootstrap compiler. You will have
> the same problem if you try to rebuild 3.0.x. There is a silent
> miscompilation of expr.c if I remember correctly.
with gcc-3.1 as bootstrapping compiler:
$ gcc -v
Reading specs from /home/tausq/opt/gnu/lib/gcc-lib/hppa-linux/3.1.1/specs
Configured with: /home/tausq/src/gcc-20020708/configure --prefix=/home/tausq/opt/gnu --host=hppa-linux --build=hppa-linux --target=hppa-linux --enable-shared --disable-nls --enable-languages=c
Thread model: single
gcc version 3.1.1 20020708 (prerelease)
gcc -DIN_GCC -DCROSS_COMPILE -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -o cc1 \
c-parse.o c-lang.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-format.o c-semantics.o c-objc-common.o libcpp.a main.o libbackend.a ../libiberty/libiberty.a
/usr/bin/ld: libbackend.a(expr.o)(.text+0x3f660): cannot reach 000002bc_integer_zerop+0, recompile with -ffunction-sections
/usr/bin/ld: libbackend.a(expr.o)(.text+0x3f660): cannot handle R_PARISC_PCREL17F for integer_zerop
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
i'll do a bit more digging later
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
next prev parent reply other threads:[~2002-07-12 17:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-12 7:27 [parisc-linux] Problem building gcc-3.2 (cvs head) on hppa-linux Randolph Chung
2002-07-12 13:44 ` John David Anglin
2002-07-12 13:44 ` John David Anglin
2002-07-12 16:56 ` Randolph Chung [this message]
2002-07-12 17:52 ` John David Anglin
2002-07-12 17:52 ` John David Anglin
[not found] ` <20020712193842.GB8724@tausq.org>
2002-07-12 19:59 ` Randolph Chung
2002-07-12 19:59 ` Randolph Chung
2002-07-12 16:56 ` Randolph Chung
2002-07-18 18:33 ` John David Anglin
2002-07-18 18:33 ` John David Anglin
-- strict thread matches above, loose matches on Subject: below --
2002-07-12 7:27 Randolph Chung
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=20020712165616.GA8724@tausq.org \
--to=randolph@tausq.org \
--cc=dave@hiauly1.hia.nrc.ca \
--cc=gcc@gcc.gnu.org \
--cc=parisc-linux@parisc-linux.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