public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "tege-gcc at swox dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/17224] New: relocation truncated to fit: GPREL22 Date: Sun, 29 Aug 2004 00:29:00 -0000 [thread overview] Message-ID: <20040829002954.17224.tege-gcc@swox.com> (raw) Invalid code is generated for symbol+bigoffset. Test case: void *foo () { static int n; return &n - 89477598;} main () { foo (); } Compilation command end error: gcc -Wa,-v -v -O3 foo.c Reading specs from /usr/local/lib/gcc/ia64-unknown-linux-gnu/3.4.1/specs Configured with: ../configure Thread model: posix gcc version 3.4.1 /usr/local/libexec/gcc/ia64-unknown-linux-gnu/3.4.1/cc1 -quiet -v foo.c -quiet -dumpbase foo.c -auxbase foo -O3 -version -o /tmp/cc0nLAzc.s ignoring nonexistent directory "NONE/include" ignoring nonexistent directory "/usr/local/lib/gcc/ia64-unknown-linux-gnu/3.4.1/../../../../ia64-unknown-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /usr/local/include /usr/local/lib/gcc/ia64-unknown-linux-gnu/3.4.1/include /usr/include End of search list. GNU C version 3.4.1 (ia64-unknown-linux-gnu) compiled by GNU C version 3.4.1. GGC heuristics: --param ggc-min-expand=38 --param ggc-min-heapsize=16384 as -x -v -o /tmp/ccWqLDKj.o /tmp/cc0nLAzc.s GNU assembler version 2.12.90.0.1 (ia64-linux) using BFD version 2.12.90.0.1 20020307 Debian/GNU Linux /usr/local/libexec/gcc/ia64-unknown-linux-gnu/3.4.1/collect2 -dynamic-linker /lib/ld-linux-ia64.so.2 /usr/lib/crt1.o /usr/lib/crti.o /usr/local/lib/gcc/ia64-unknown-linux-gnu/3.4.1/crtbegin.o -L/usr/local/lib/gcc/ia64-unknown-linux-gnu/3.4.1 -L/usr/local/lib/gcc/ia64-unknown-linux-gnu/3.4.1/../../.. /tmp/ccWqLDKj.o -lgcc -lgcc_eh -lc -lgcc -lgcc_eh /usr/local/lib/gcc/ia64-unknown-linux-gnu/3.4.1/crtend.o /usr/lib/crtn.o /tmp/ccWqLDKj.o: In function `foo': /tmp/ccWqLDKj.o(.text+0x1): relocation truncated to fit: GPREL22 .text collect2: ld returned 1 exit status -- Summary: relocation truncated to fit: GPREL22 Product: gcc Version: 3.4.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tege-gcc at swox dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: ia64-unknown-linux-gnu GCC host triplet: ia64-unknown-linux-gnu GCC target triplet: ia64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17224
next reply other threads:[~2004-08-29 0:29 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-08-29 0:29 tege-gcc at swox dot com [this message] 2004-08-29 0:34 ` [Bug target/17224] " pinskia at gcc dot gnu dot org 2004-08-29 0:38 ` tege-gcc at swox dot com 2004-08-29 0:46 ` pinskia at gcc dot gnu dot org 2004-08-29 1:08 ` tege-gcc at swox dot com 2004-08-29 1:15 ` pinskia at gcc dot gnu dot org 2004-08-29 9:32 ` jsm at polyomino dot org dot uk 2004-08-29 16:49 ` pinskia at gcc dot gnu dot org 2004-10-16 19:31 ` [Bug target/17224] [3.4/4.0 Regression]: " hjl at lucon dot org 2004-10-16 19:33 ` pinskia at gcc dot gnu dot org 2004-11-01 0:42 ` mmitchel at gcc dot gnu dot org 2004-11-27 2:05 ` neroden at gcc dot gnu dot org 2004-11-28 2:58 ` hjl at lucon dot org 2004-11-28 5:57 ` rth at gcc dot gnu dot org 2004-11-29 18:43 ` cvs-commit at gcc dot gnu dot org 2004-11-29 19:19 ` cvs-commit at gcc dot gnu dot org 2004-11-29 19:20 ` rth at gcc dot gnu dot org 2004-11-29 23:17 ` schwab at suse dot de
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=20040829002954.17224.tege-gcc@swox.com \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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: linkBe 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).