[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/17330] New: Fails to build on sh4: pcrel too far
From: |
glaubitz at physik dot fu-berlin.de |
Subject: |
[Bug binutils/17330] New: Fails to build on sh4: pcrel too far |
Date: |
Fri, 29 Aug 2014 19:47:39 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=17330
Bug ID: 17330
Summary: Fails to build on sh4: pcrel too far
Product: binutils
Version: 2.25 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: glaubitz at physik dot fu-berlin.de
Hello!
binutils currently fails to build from source when compiling on SH4 (Hitachi
SuperH).
gcc-4.9 seems to generate invalid assembly code which trips the assembler:
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../opcodes -I. -I../../opcodes -I../bfd -I../../opcodes/../include
-I../../opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wshadow -g -O2 -MT hppa-dis.lo -MD -MP -MF .deps/hppa-dis.Tpo -c -o
hppa-dis.lo ../../opcodes/hppa-dis.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../opcodes -I. -I../../opcodes
-I../bfd -I../../opcodes/../include -I../../opcodes/../bfd -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wshadow -g -O2 -MT hppa-dis.lo -MD
-MP -MF .deps/hppa-dis.Tpo -c ../../opcodes/hppa-dis.c -fPIC -DPIC -o
.libs/hppa-dis.o
/tmp/ccZrwibi.s: Assembler messages:
/tmp/ccZrwibi.s:1903: Error: pcrel too far
The full build log can be found on Debian's buildd website [1]. I have also
filed a bug report to Debian [2] where I reference I similar bug which was
previously found in gcc [3]. In the end, it might be a gcc bug but I am not
sure as I have observed this bug only for this particular version of binutils.
Cheers,
Adrian
> [1]
> http://buildd.debian-ports.org/status/fetch.php?pkg=binutils&arch=sh4&ver=2.24.51.20140818-1&stamp=1408638991
> [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758830
> [3] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43744
--
You are receiving this mail because:
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug binutils/17330] New: Fails to build on sh4: pcrel too far,
glaubitz at physik dot fu-berlin.de <=