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

Bug 929090

Summary: dev-perl/OpenGL-GLUT-0.720.0 - [slibtool] [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: CONFIRMED ---    
Severity: normal CC: perl
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-perl:OpenGL-GLUT-0.720.0:20240410-085853.log.xz
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 2024-04-10 18:08:16 UTC
      |                         ^
940 warnings generated.
rm -f blib/arch/auto/OpenGL/GLUT/GLUT.so
LD_RUN_PATH="/lib64" x86_64-pc-linux-gnu-gcc  -shared -O2 -pipe -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs  GLUT.o gl_util.o pogl_const.o pogl_gl_top.o  -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -o blib/arch/auto/OpenGL/GLUT/GLUT.so  \
   -L/usr/lib -L/usr/local/lib -lGL -lGLU -lglut -lglut -lXext -lXmu -lXi -lICE -lX11 -lm   \
  
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/gcc/x86_64-pc-linux-gnu/13/crtbeginS.o is incompatible with elf32-i386
ld.lld: error: GLUT.o is incompatible with elf32-i386

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma-20240409-062805

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 18.1.3
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.3
Python 3.11.9
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.402_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-21 

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

  HEAD of ::gentoo
commit 0713096d4fe4bf66767c6399cd4be6ded81b4456
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Apr 10 08:03:55 2024 +0000

    Merge updates from master

emerge -qpvO dev-perl/OpenGL-GLUT
[ebuild  N    ] dev-perl/OpenGL-GLUT-0.720.0  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2024-04-10 18:08:16 UTC
Created attachment 890328 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-10 18:08:17 UTC
Created attachment 890329 [details]
dev-perl:OpenGL-GLUT-0.720.0:20240410-085853.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-04-10 18:08:18 UTC
Created attachment 890330 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-04-10 18:08:20 UTC
Created attachment 890331 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-04-10 18:08:20 UTC
Created attachment 890332 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-10 18:08:21 UTC
Created attachment 890333 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-10 18:08:22 UTC
Created attachment 890334 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-04-10 18:08:24 UTC
Created attachment 890335 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2024-04-10 18:08:24 UTC
Created attachment 890336 [details]
var.tmp.clang.tar.xz