Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 647878 - sci-biology/vaal-46233-r2 : /.../ld: cannot find -lieee
Summary: sci-biology/vaal-46233-r2 : /.../ld: cannot find -lieee
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Biology related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.27 glibc-2.27-stable
  Show dependency tree
 
Reported: 2018-02-16 17:21 UTC by Toralf Förster
Modified: 2018-09-29 20:34 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,14.55 KB, text/plain)
2018-02-16 17:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,25.80 KB, text/plain)
2018-02-16 17:21 UTC, Toralf Förster
Details
environment (environment,55.50 KB, text/plain)
2018-02-16 17:21 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.84 KB, application/x-bzip)
2018-02-16 17:21 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.26 KB, application/x-bzip)
2018-02-16 17:21 UTC, Toralf Förster
Details
sci-biology:vaal-46233-r2:20180216-114706.log (sci-biology:vaal-46233-r2:20180216-114706.log,87.92 KB, text/plain)
2018-02-16 17:21 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.22 KB, application/x-bzip)
2018-02-16 17:21 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 2018-02-16 17:21:38 UTC
/bin/sh ../libtool  --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++ -fopenmp -O2 -pipe -march=native -std=c++11 -Wextra -Wall -Wsign-promo -Woverloaded-virtual -Wendif-labels -Wno-unused -Wno-deprecated -Wno-long-long -Wno-parentheses -fno-nonansi-builtins -mieee-fp -fno-strict-aliasing -iquote .  -DNDEBUG -pthread -Wl,-O1 -Wl,--as-needed -o VAAL0_5 VAAL0_5.o libVAAL.a 
libtool: link: x86_64-pc-linux-gnu-g++ -fopenmp -O2 -pipe -march=native -std=c++11 -Wextra -Wall -Wsign-promo -Woverloaded-virtual -Wendif-labels -Wno-unused -Wno-deprecated -Wno-long-long -Wno-parentheses -fno-nonansi-builtins -mieee-fp -fno-strict-aliasing -iquote . -DNDEBUG -pthread -Wl,-O1 -o VAAL0_5 VAAL0_5.o  -Wl,--as-needed libVAAL.a -pthread -fopenmp
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lieee
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:891: VAAL0_5] Error 1
make[2]: Leaving directory '/var/tmp/portage/sci-biology/vaal-46233-r2/work/vaal-46233/src'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib-hardened_test_20180215-173621

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

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

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

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv sci-biology/vaal
Comment 1 Toralf Förster gentoo-dev 2018-02-16 17:21:41 UTC
Created attachment 519756 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-02-16 17:21:44 UTC
Created attachment 519758 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-02-16 17:21:47 UTC
Created attachment 519760 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-02-16 17:21:50 UTC
Created attachment 519762 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-02-16 17:21:52 UTC
Created attachment 519764 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-02-16 17:21:55 UTC
Created attachment 519766 [details]
sci-biology:vaal-46233-r2:20180216-114706.log
Comment 7 Toralf Förster gentoo-dev 2018-02-16 17:21:58 UTC
Created attachment 519768 [details]
temp.tbz2
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2018-09-29 20:20:56 UTC
This is caused by -mieee-fp, which makes gcc link (errorneously) to libieee.a ...

libieee.a was already an empty archive in the last versions, and the behaviour of -mieee-fp is default now on linux (not from gcc side, but from glibc side).

So this is a mess-up / bad interaction between glibc and gcc.

See also https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84829

I'm going to patch that compiler flag out of the package; shouldnt hurt. Long run we need the patches from above bug backported into gcc.
Comment 9 Larry the Git Cow gentoo-dev 2018-09-29 20:34:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c24d4349f4e48f2a8aeda81be28d40e91d979f40

commit c24d4349f4e48f2a8aeda81be28d40e91d979f40
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2018-09-29 20:33:49 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2018-09-29 20:34:30 +0000

    sci-biology/vaal: Add build fix for glibc 2.27
    
    Closes: https://bugs.gentoo.org/647878
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 sci-biology/vaal/files/vaal-46233-libieee.patch | 12 ++++++++++++
 sci-biology/vaal/vaal-46233-r2.ebuild           |  3 ++-
 2 files changed, 14 insertions(+), 1 deletion(-)