public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/49860] New: [x32] Error: cannot represent relocation type BFD_RELOC_64 in x32 mode
@ 2011-07-27  4:29 hjl.tools at gmail dot com
  2011-07-27  8:09 ` [Bug target/49860] " ubizjak at gmail dot com
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: hjl.tools at gmail dot com @ 2011-07-27  4:29 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49860

           Summary: [x32] Error: cannot represent relocation type
                    BFD_RELOC_64 in x32 mode
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com
                CC: ubizjak@gmail.com


[hjl@gnu-6 ilp32-30]$ cat x.i
extern char inbuf[];
extern char outbuf[];
extern unsigned insize;
extern unsigned inptr;
static int max_len;
static int peek_bits;
void build_tree() {
  int len;
  char *prefixp;
  max_len = inbuf[inptr++];
  peek_bits = ((max_len) <= (12) ? (max_len) : (12));
  prefixp = &outbuf[1<<peek_bits];
  for (len = 1;
       len <= peek_bits;
       len++) {
  }
  while (prefixp > outbuf) *--prefixp = 0;
}
[hjl@gnu-6 ilp32-30]$ make
/export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -S -o x.s -mx32
-funroll-all-loops -O3 -dp  x.i
/export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -mx32 -funroll-all-loops -O3
-dp  -c -o x.o x.s
x.s: Assembler messages:
x.s:25: Error: cannot represent relocation type BFD_RELOC_64 in x32 mode
make: *** [x.o] Error 1
[hjl@gnu-6 ilp32-30]


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-08-06 14:07 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-27  4:29 [Bug target/49860] New: [x32] Error: cannot represent relocation type BFD_RELOC_64 in x32 mode hjl.tools at gmail dot com
2011-07-27  8:09 ` [Bug target/49860] " ubizjak at gmail dot com
2011-07-27 12:39 ` hjl.tools at gmail dot com
2011-07-27 12:50 ` ubizjak at gmail dot com
2011-07-27 12:56 ` hjl.tools at gmail dot com
2011-07-27 15:11 ` ubizjak at gmail dot com
2011-07-27 15:43 ` hjl.tools at gmail dot com
2011-07-27 16:05 ` ubizjak at gmail dot com
2011-07-27 16:15 ` hjl.tools at gmail dot com
2011-07-27 16:17 ` hjl.tools at gmail dot com
2011-07-29 15:57 ` hjl at gcc dot gnu.org
2011-08-02  6:37 ` ubizjak at gmail dot com
2011-08-02 14:09 ` hjl at gcc dot gnu.org
2011-08-06 14:07 ` hjl at gcc dot gnu.org

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).