Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618122 - sci-physics/cernlib-2006-r6 : LOCB/LOCF: address exceeds the 32 bit address space
Summary: sci-physics/cernlib-2006-r6 : LOCB/LOCF: address exceeds the 32 bit address s...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Physics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-10 16:31 UTC by Toralf Förster
Modified: 2017-05-15 20:46 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,5.77 KB, text/plain)
2017-05-10 16:32 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,178.41 KB, text/plain)
2017-05-10 16:32 UTC, Toralf Förster
Details
environment (environment,80.56 KB, text/plain)
2017-05-10 16:32 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.45 KB, application/x-bzip)
2017-05-10 16:32 UTC, Toralf Förster
Details
sci-physics:cernlib-2006-r6:20170510-152830.log.bz2 (sci-physics:cernlib-2006-r6:20170510-152830.log.bz2,159.38 KB, application/x-bzip)
2017-05-10 16:32 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,180.36 KB, application/x-bzip)
2017-05-10 16:32 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-05-10 16:31:57 UTC
mkdir -p stampdir
touch stampdir/gunzip-stamp
make: dpkg-architecture: Command not found
# Add various patches to the patch directory based on environment
# variable options
for patch in `ls -1 /var/tmp/portage/sci-physics/cernlib-2006-r6/work/cernlib-20061220+dfsg3/debian/patches/*.dpatch.in 2> /dev/null`; do \

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: gnome-libressl_20170507-174431

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.3.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
Comment 1 Toralf Förster gentoo-dev 2017-05-10 16:32:02 UTC
Created attachment 472276 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-05-10 16:32:05 UTC
Created attachment 472278 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-05-10 16:32:09 UTC
Created attachment 472280 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-05-10 16:32:12 UTC
Created attachment 472282 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-05-10 16:32:15 UTC
Created attachment 472284 [details]
sci-physics:cernlib-2006-r6:20170510-152830.log.bz2
Comment 6 Toralf Förster gentoo-dev 2017-05-10 16:32:18 UTC
Created attachment 472286 [details]
temp.tbz2
Comment 7 Benda Xu gentoo-dev 2017-05-11 03:19:02 UTC
dpkg-architecture is not the fetal error here.  The real failure is at

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
LOCB/LOCF: address 0x559e27e42dd0 exceeds the 32 bit address space
or is not in the data segments
This may result in program crash or incorrect results
Therefore we will stop here
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

It seems to be caused by PIE that enabled by default by gcc-6.
Comment 8 Benda Xu gentoo-dev 2017-05-11 03:23:03 UTC
Possible solution:

  https://bugzilla.redhat.com/show_bug.cgi?id=241416
Comment 9 Toralf Förster gentoo-dev 2017-05-11 17:20:00 UTC
oh, then it is due to the change use flag of gcc-6.3
Comment 10 Toralf Förster gentoo-dev 2017-05-11 17:36:39 UTC
ick, didn't want to close this bug 

Would it help to filter out "-pie" for this particular software package ?
Comment 11 Benda Xu gentoo-dev 2017-05-15 02:24:14 UTC
Strangely I cannot reproduce this bug by gcc-6.3 and glibc-2.23.
Comment 12 Toralf Förster gentoo-dev 2017-05-15 20:46:47 UTC
probably a fallout of +pie -poie and +pie and so forth for the unmasked gcc-6.3