Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932578 - dev-db/myodbc-8.0.32 - [ncurses-6.5] [gcc-15] [llvm] ld.lld: error: .../Scrt1.o is incompatible with elf64-x86-64
Summary: dev-db/myodbc-8.0.32 - [ncurses-6.5] [gcc-15] [llvm] ld.lld: error: .../Scrt1...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-23 20:38 UTC by Toralf Förster
Modified: 2024-05-23 20:38 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.78 KB, text/plain)
2024-05-23 20:38 UTC, Toralf Förster
Details
dev-db:myodbc-8.0.32:20240523-200102.log (dev-db:myodbc-8.0.32:20240523-200102.log,140.10 KB, text/plain)
2024-05-23 20:38 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,183.84 KB, text/plain)
2024-05-23 20:38 UTC, Toralf Förster
Details
environment (environment,128.01 KB, text/plain)
2024-05-23 20:38 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.23 KB, application/x-xz)
2024-05-23 20:38 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,33.67 KB, application/x-xz)
2024-05-23 20:38 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,49.28 KB, application/x-xz)
2024-05-23 20:38 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,71.29 KB, application/x-xz)
2024-05-23 20:38 UTC, Toralf Förster
Details
var.tmp.clang.tar.xz (var.tmp.clang.tar.xz,5.39 KB, application/x-xz)
2024-05-23 20:38 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 2024-05-23 20:38:05 UTC
too long lines were shrinked:

[116/121] : && /var/tmp/portage/dev-db/myodbc-8.0.32/temp/clang-wrappers/clang -m32 -mfpmath=sse -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DNDEBUG -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -Wl,--defsym=__gento
[117/121] /usr/lib/llvm/18/bin/clang++ -m32 -mfpmath=sse -DDISABLE_ALL_PSI -DHAVE_LIBDL -DHAVE_LPCWSTR -DMYSQL8 -DNDEBUG -DTHREAD -DUSE_SQLCOLATTRIBUTE_SQLLEN_PTR -DUSE_SQLPARAMOPTIONS_SQLULEN_PTR -DUSE_UNIXODBC -D_UNIX_ -Dmyodbc8a_EXPORTS -I/usr/include/mysql -I/var/tmp/portage/dev-db/myodbc-8.0.32
[118/121] /usr/lib/llvm/18/bin/clang++ -m32 -mfpmath=sse -DDISABLE_ALL_PSI -DHAVE_LIBDL -DHAVE_LPCWSTR -DMYSQL8 -DNDEBUG -DTHREAD -DUSE_SQLCOLATTRIBUTE_SQLLEN_PTR -DUSE_SQLPARAMOPTIONS_SQLULEN_PTR -DUSE_UNIXODBC -D_UNIX_ -I/usr/include/mysql -I/var/tmp/portage/dev-db/myodbc-8.0.32/work/mysql-connect
[119/121] : && /usr/lib/llvm/18/bin/clang++ -m32 -mfpmath=sse -O2 -pipe -march=native -fno-diagnostics-color -DNDEBUG -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L/usr/lib64 -lodbc   -rdynamic installer/CMakeFiles/myodbc-installer.dir/
FAILED: bin/myodbc-installer 
: && /usr/lib/llvm/18/bin/clang++ -m32 -mfpmath=sse -O2 -pipe -march=native -fno-diagnostics-color -DNDEBUG -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L/usr/lib64 -lodbc   -rdynamic installer/CMakeFiles/myodbc-installer.dir/myodbc-ins
ld.lld: error: /lib/Scrt1.o is incompatible with elf64-x86-64
ld.lld: error: /lib/crti.o is incompatible with elf64-x86-64
ld.lld: error: /usr/lib/llvm/18/bin/../../../../lib/clang/18/lib/linux/clang_rt.crtbegin-i386.o is incompatible with elf64-x86-64

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_llvm_systemd-20240520-084001

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  >=sys-libs/ncurses-6.5
    Issues involving opaque types / incomplete typedefs should block bug 930805

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.6+libcxx
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.6+libcxx
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.23_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17]
3)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21 

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

  HEAD of ::gentoo
commit fa6af64a78d901c57d416a1fc95b7e5aacf07e43
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu May 23 18:22:36 2024 +0000

    2024-05-23 18:22:35 UTC

emerge -qpvO dev-db/myodbc
[ebuild  N    ] dev-db/myodbc-8.0.32  ABI_X86="32 (64) (-x32)"
Comment 1 Toralf Förster gentoo-dev 2024-05-23 20:38:06 UTC
Created attachment 894074 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-05-23 20:38:07 UTC
Created attachment 894075 [details]
dev-db:myodbc-8.0.32:20240523-200102.log
Comment 3 Toralf Förster gentoo-dev 2024-05-23 20:38:09 UTC
Created attachment 894076 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-05-23 20:38:10 UTC
Created attachment 894077 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-05-23 20:38:11 UTC
Created attachment 894078 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-05-23 20:38:12 UTC
Created attachment 894079 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-05-23 20:38:13 UTC
Created attachment 894080 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-05-23 20:38:14 UTC
Created attachment 894081 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2024-05-23 20:38:15 UTC
Created attachment 894082 [details]
var.tmp.clang.tar.xz