Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337666 - sys-devel/gcc-4.4.3 + sys-devel/binutils-2.20.1 on SuperH hits Error: pcrel too far with mysql
Summary: sys-devel/gcc-4.4.3 + sys-devel/binutils-2.20.1 on SuperH hits Error: pcrel t...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: sh Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-16 16:38 UTC by SpanKY
Modified: 2017-06-06 22:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dict0crea.i (dict0crea.i,458.30 KB, text/plain)
2010-09-16 16:58 UTC, SpanKY
Details
dict0crea.s (dict0crea.s,86.26 KB, text/plain)
2010-09-16 16:59 UTC, SpanKY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2010-09-16 16:38:21 UTC
sh4-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./../../include -I../../include    -DDBUG_OFF  -DDBUG_OFF -O2 -m4 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing    -DDEBUG_OFF -DUNIV_LINUX -MT dict0crea.o -MD -MP -MF .deps/dict0crea.Tpo -c -o dict0crea.o dict0crea.c
{standard input}: Assembler messages:
{standard input}:5832: Error: pcrel too far
make[4]: *** [dict0crea.o] Error 1



Portage 2.1.8.3 (default/linux/sh/10.0/server, gcc-4.4.3, glibc-2.11.2-r0, 2.6.30.9 sh4)
=================================================================
System uname: Linux-2.6.30.9-sh4-SH7751R-with-gentoo-1.12.13
Timestamp of tree: Thu, 16 Sep 2010 04:00:21 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       3.4.6-r2, 4.1.2, 4.2.0, 4.3.2, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="sh"
ACCEPT_LICENSE="* -@EULA"
CBUILD="sh4-unknown-linux-gnu"
CFLAGS="-O2 -m4 -pipe"
CHOST="sh4-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -m4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org"
LANG="en_US.UTF8"
LDFLAGS="-Wl,-z,relro -Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://bobolink.gentoo.org/gentoo-portage"
USE="X acl apache2 berkdb bindist bzip2 cli cracklib crypt cups curl cxx fortran ftp gd gdbm gif gpm iconv ipv6 jpeg modules mp3 mudflap mysql ncurses nls nossp nptl nptlonly openmp openntpd pcre perl png pppd python readline reflection sdl session sh snmp sockets sqlite ssl sysfs tcpd tiff truetype unicode xml xorg xprint zip zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2010-09-16 16:58:02 UTC
Created attachment 247614 [details]
dict0crea.i

preprocessed file from:
sh4-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./../../include -I../../include    -DDBUG_OFF  -DDBUG_OFF -O2 -m4 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing    -DDEBUG_OFF -DUNIV_LINUX -MT dict0crea.o -MD -MP -MF .deps/dict0crea.Tpo -E -P -o dict0crea.i dict0crea.c
Comment 2 SpanKY gentoo-dev 2010-09-16 16:59:22 UTC
Created attachment 247616 [details]
dict0crea.s

created with:
sh4-unknown-linux-gnu-gcc -O2 -m4 dict0crea.i -o dict0crea.s -S -fno-strict-aliasing

and then failure is seen with:
sh4-unknown-linux-gnu-as dict0crea.s -o dict0crea.o
dict0crea.s: Assembler messages:
dict0crea.s:5832: Error: pcrel too far

removing the -fno-strict-aliasing and the error is not observed ...