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

Bug 919716

Summary: dev-perl/Text-Kakasi-2.40.0-r3 - [clang] ld.lld: error: .../crti.o is incompatible with elf32-i386
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-perl:Text-Kakasi-2.40.0-r3:20231211-041136.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt
temp.tar.xz
var.tmp.clang.tar.xz

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

mv Kakasi.xsc Kakasi.c
clang -c  -I/usr/include -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -DNO_PERL_RAND_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=native -fno-diagnostics-color   -DVERSION=\"2.04\" -DXS_VERSION=\"2.
rm -f blib/arch/auto/Text/Kakasi/Kakasi.so
LD_RUN_PATH="/usr/lib64" clang  -shared -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0  Kakasi.o -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl
   -L/usr/lib -lkakasi   \
  
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: Kakasi.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 c49c34c43ad71417634f034894f17e2125beeec4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Dec 10 23:18:56 2023 +0000

    2023-12-10 23:18:55 UTC

emerge -qpvO dev-perl/Text-Kakasi
[ebuild  N    ] dev-perl/Text-Kakasi-2.40.0-r3  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2023-12-11 18:17:28 UTC
Created attachment 878691 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-11 18:17:29 UTC
Created attachment 878692 [details]
dev-perl:Text-Kakasi-2.40.0-r3:20231211-041136.log
Comment 3 Toralf Förster gentoo-dev 2023-12-11 18:17:30 UTC
Created attachment 878693 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-12-11 18:17:31 UTC
Created attachment 878694 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-11 18:17:32 UTC
Created attachment 878695 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-11 18:17:33 UTC
Created attachment 878696 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-11 18:17:34 UTC
Created attachment 878697 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2023-12-11 18:17:35 UTC
Created attachment 878698 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-11 18:17:36 UTC
Created attachment 878699 [details]
var.tmp.clang.tar.xz