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

Bug 919454

Summary: x11-misc/wmname-0.1-r1 - [clang] ld.lld: error: .../Scrt1.o is incompatible with elf32-i386
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
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
qlist-info.txt
temp.tar.xz
x11-misc:wmname-0.1-r1:20231208-020140.log

Description Toralf Förster gentoo-dev 2023-12-08 09:56:12 UTC
CC wmname.c
CFLAGS   = -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -std=c99 -pedantic -I. -I/usr/include -I/usr/X11R6/include -DVERSION="0.1"
LDFLAGS  = -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L/usr/lib -lc -L/usr/X11R6/lib -lX11
CC       = clang
LD       = clang
LD wmname
ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/Scrt1.o is incompatible with elf32-i386
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

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd_clang_merged_usr-20231206-115013

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

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 Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21 

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 defe61b9126494ca04d18ebcd9c3559ef3842e2e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 8 00:32:02 2023 +0000

    2023-12-08 00:32:02 UTC

emerge -qpvO x11-misc/wmname
[ebuild  N    ] x11-misc/wmname-0.1-r1
Comment 1 Toralf Förster gentoo-dev 2023-12-08 09:56:13 UTC
Created attachment 878290 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-08 09:56:14 UTC
Created attachment 878291 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-08 09:56:16 UTC
Created attachment 878292 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-08 09:56:16 UTC
Created attachment 878293 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-08 09:56:17 UTC
Created attachment 878294 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-08 09:56:19 UTC
Created attachment 878295 [details]
qlist-info.txt
Comment 7 Toralf Förster gentoo-dev 2023-12-08 09:56:20 UTC
Created attachment 878296 [details]
temp.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-08 09:56:20 UTC
Created attachment 878297 [details]
x11-misc:wmname-0.1-r1:20231208-020140.log
Comment 9 Agostino Sarubbo gentoo-dev 2024-03-12 11:18:24 UTC
clang-lld_tinderbox detected this bug as duplicate of 732420 - If this an error, please let me know

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