Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 919723

Summary: sci-libs/qd-2.3.23 - [clang] ld.lld: error: .../crti.o is incompatible with elf32-i386
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt
sci-libs:qd-2.3.23:20231211-144053.log
temp.tar.xz
var.tmp.clang.tar.xz

Description Toralf Förster gentoo-dev 2023-12-11 18:19:33 UTC
too long lines were shrinked:

libtool: link: clang++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/crti.o /usr/lib/llvm/17/bin/../../../../lib/clang/17/lib/linux/clang_rt.crtbegin-x86_64.o  .libs/ddext.o .libs/ddmod.o .libs/qdext.o .libs/qdmod.o .libs/f_dd.o .libs/f_qd.o   -Wl,-rpath -Wl,/v
libtool: link: (cd ".libs" && rm -f "libqdmod.so.0" && ln -s "libqdmod.so.0.0.0" "libqdmod.so.0")
libtool: link: (cd ".libs" && rm -f "libqdmod.so" && ln -s "libqdmod.so.0.0.0" "libqdmod.so")
libtool: link: ( cd ".libs" && rm -f "libqdmod.la" && ln -s "../libqdmod.la" "libqdmod.la" )
/bin/sh ../libtool  --tag=CXX   --mode=link clang++  -O3 -pipe -march=native -fno-diagnostics-color  -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libqd_f_main.la -rpath /usr/lib64 main.lo ../src/libqd.la libqdmod.la -L/usr/lib/gcc/x86_64-pc-linux-gnu/13 -L/usr/l
libtool: link: clang++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/crti.o /usr/lib/llvm/17/bin/../../../../lib/clang/17/lib/linux/clang_rt.crtbegin-x86_64.o  .libs/main.o   -Wl,-rpath -Wl,/var/tmp/portage/sci-libs/qd-2.3.23/work/qd-2.3.23/src/.libs -Wl,-rpath
ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/crti.o is incompatible with elf32-i386
ld.lld: error: /usr/lib/llvm/17/bin/../../../../lib/clang/17/lib/linux/clang_rt.crtbegin-x86_64.o is incompatible with elf32-i386
ld.lld: error: .libs/main.o is incompatible with elf32-i386

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd_clang-20231210-041514

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6+libcxx
Python 3.11.7
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 8073672291ccd2c943d2841ae5b92fc8736ab101
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 11 14:03:54 2023 +0000

    2023-12-11 14:03:54 UTC

emerge -qpvO sci-libs/qd
[ebuild  N    ] sci-libs/qd-2.3.23  USE="fortran -doc" CPU_FLAGS_X86="fma3 -fma4"
Comment 1 Toralf Förster gentoo-dev 2023-12-11 18:19:34 UTC
Created attachment 878757 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-11 18:19:35 UTC
Created attachment 878758 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-11 18:19:36 UTC
Created attachment 878759 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-11 18:19:37 UTC
Created attachment 878760 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-11 18:19:38 UTC
Created attachment 878761 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-11 18:19:39 UTC
Created attachment 878762 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-11 18:19:40 UTC
Created attachment 878763 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2023-12-11 18:19:41 UTC
Created attachment 878764 [details]
sci-libs:qd-2.3.23:20231211-144053.log
Comment 9 Toralf Förster gentoo-dev 2023-12-11 18:19:42 UTC
Created attachment 878765 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2023-12-11 18:19:43 UTC
Created attachment 878766 [details]
var.tmp.clang.tar.xz
Comment 11 Agostino Sarubbo gentoo-dev 2024-03-07 12:05:04 UTC
clang-lld_tinderbox detected this bug as duplicate of 831799 - If this an error, please let me know

*** This bug has been marked as a duplicate of bug 831799 ***