Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 193617
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Stefaan De Roeck <stefaan@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Stefaan De Roeck <stefaan@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 193617 depends on: Show dependency tree
Bug 193617 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-09-24 12:05 0000
with "relocation truncated to fit: GPREL16 against symbol `buffer' defined in
COMMON section"

all tests with sys-fs/jfsutils-1.1.12, but retried some with
sys-fs/jfsutils-1.1.11 giving the same results

gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs   -Wall
-Wstrict-prototypes -fno-strict-aliasing -O1 -g -MT helpers.o -MD -MP -MF
.deps/helpers.Tpo -c -o helpers.o helpers.c
mv -f .deps/helpers.Tpo .deps/helpers.Po
gcc -Wall -Wstrict-prototypes -fno-strict-aliasing -O1 -g   -o jfs_logdump
logdump.o helpers.o ../libfs/libfs.a -luuid
../libfs/libfs.a(log_map.o): In function `bread':
/var/tmp/portage/sys-fs/jfsutils-1.1.12/work/jfsutils-1.1.12/libfs/log_map.c:1910:
relocation truncated to fit: GPREL16 against symbol `buffer' defined in COMMON
section in ../libfs/libfs.a(log_dump.o)
collect2: ld returned 1 exit status
make[2]: *** [jfs_logdump] Error 1
make[2]: Leaving directory
`/home/extra/var/tmp/portage/sys-fs/jfsutils-1.1.12/work/jfsutils-1.1.12/logdump'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/extra/var/tmp/portage/sys-fs/jfsutils-1.1.12/work/jfsutils-1.1.12'
make: *** [all] Error 2

tried with gcc-4.1.2 and binutils-2.17.50.0.16, afterwards upgraded to
binutils-2.18, and finally switched to gcc-4.2.0.  problem persists in any of
these three configurations. 

tried "-mlarge-data", but it didn't help (and shouldn't have, as it's the
default setting), neither did "-fPIC" (never know)

I downgraded further to gcc-3.4.6, binutils-2.16.1, to no avail.  

I have a working sys-fs/jfsutils-1.1.11 on my system, so it has worked in the
past... no clue...

Portage 2.1.3.9 (default-linux/alpha/2006.1/server, gcc-4.1.2, glibc-2.3.6-r5,
2.6.21-gentoo-r4 alpha)
=================================================================
System uname: 2.6.21-gentoo-r4 alpha EV56
Timestamp of tree: Sat, 22 Sep 2007 20:50:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-lang/python:     2.3.5-r3, 2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
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
sys-devel/binutils:  2.18
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="alpha"
CBUILD="alpha-unknown-linux-gnu"
CFLAGS="-mieee -O2 -mcpu=ev56"
CHOST="alpha-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-mieee -O2 -mcpu=ev56"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict
unmerge-orphans userfetch usersandbox"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://ftp.belnet.be/gentoo-portage"
USE="alpha apache2 bash-completion berkdb bitmap-fonts bzip2 cli cracklib crypt
cups dri fortran gdbm iconv ipv6 isdnlog ldap mailwrapper midi motif mudflap
ncurses nls nptl nptlonly openmp pam pcre perl ppds pppd python readline
reflection session snmp spl ssl tcpd truetype truetype-fonts type1-fonts
unicode xml xorg zlib" ALSA_CARDS="ali5451 als4000 bt87x ca0106 cmipci emu10k1
ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 maestro3 trident
usb-audio via82xx ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare
dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw
multi null plug rate route share shm softvol" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
VIDEO_CARDS="vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

------- Comment #1 From Raúl Porcel 2007-09-26 13:45:18 0000 -------
Add this to the ebuild:

        # It doesn't compile on alpha without this LDFLAGS
        use alpha && append-ldflags "-Wl,--no-relax"

Compiles fine for me using that

------- Comment #2 From Stefaan De Roeck 2007-11-22 23:35:29 0000 -------
Taking this one...

------- Comment #3 From Stefaan De Roeck 2007-11-22 23:39:19 0000 -------
Fixed in sys-fs/jfsutils-1.1.12

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug