[Bug target/49860] New: [x32] Error: cannot represent relocation type BFD_RELOC_64 in x32 mode
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Jul 27 04:29:00 GMT 2011
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]
More information about the Gcc-bugs
mailing list