Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932504 - app-text/tesseract-5.3.4 - [ncurses-6.5] [gcc-15] [llvm] ld.lld: error: non-exported symbol _divdi3 in .../libclang_rt.builtins-i386.a(divdi3.S.o) is referenced by DSO ./.libs/libt
Summary: app-text/tesseract-5.3.4 - [ncurses-6.5] [gcc-15] [llvm] ld.lld: error: non-e...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-22 19:10 UTC by Toralf Förster
Modified: 2024-11-16 12:01 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.88 KB, text/plain)
2024-05-22 19:10 UTC, Toralf Förster
Details
app-text:tesseract-5.3.4:20240522-184729.log.xz (app-text:tesseract-5.3.4:20240522-184729.log.xz,13.04 KB, application/x-xz)
2024-05-22 19:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,112.65 KB, text/plain)
2024-05-22 19:10 UTC, Toralf Förster
Details
environment (environment,102.85 KB, text/plain)
2024-05-22 19:10 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.23 KB, application/x-xz)
2024-05-22 19:10 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,28.02 KB, application/x-xz)
2024-05-22 19:10 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,10.23 KB, application/x-xz)
2024-05-22 19:10 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,227.66 KB, text/plain)
2024-05-22 19:10 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,288.91 KB, application/x-xz)
2024-05-22 19:10 UTC, Toralf Förster
Details
var.tmp.clang.tar.xz (var.tmp.clang.tar.xz,1.49 KB, application/x-xz)
2024-05-22 19:10 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-22 19:10:05 UTC
too long lines were shrinked:

libtool: link: clang++ -m32 -mfpmath=sse  -fPIC -DPIC -shared -nostdlib /lib/crti.o /usr/lib/llvm/18/bin/../../../../lib/clang/18/lib/linux/clang_rt.crtbegin-i386.o  src/api/.libs/libtesseract_la-baseapi.o src/api/.libs/libtesseract_la-altorenderer.o src/api/.libs/libtesseract_la-capi.o src/api/.lib
libtool: link: (cd ".libs" && rm -f "libtesseract.so.5" && ln -s "libtesseract.so.5.0.3" "libtesseract.so.5")
libtool: link: (cd ".libs" && rm -f "libtesseract.so" && ln -s "libtesseract.so.5.0.3" "libtesseract.so")
libtool: link: ( cd ".libs" && rm -f "libtesseract.la" && ln -s "../libtesseract.la" "libtesseract.la" )
/bin/sh ./libtool  --tag=CXX   --mode=link clang++ -m32 -mfpmath=sse -fopenmp -O2 -pipe -march=native -fno-diagnostics-color -std=c++20  -fopenmp -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o tesseract src/tesseract-tesseract.o libtess
libtool: link: clang++ -m32 -mfpmath=sse -fopenmp -O2 -pipe -march=native -fno-diagnostics-color -std=c++20 -fopenmp -Wl,-O1 -Wl,-z -Wl,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/tesseract src/tesseract-tesseract.o  -Wl,--as-needed ./.libs/libtesseract.so -lleptonica -larc
ld.lld: error: non-exported symbol '__divdi3' in '/usr/lib/llvm/18/bin/../../../../lib/clang/18/lib/linux/libclang_rt.builtins-i386.a(divdi3.S.o)' is referenced by DSO './.libs/libtesseract.so'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [Makefile:4482: tesseract] Error 1

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

  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 ac602250b8057e9df1b26ed27d3715cd584dbd42
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed May 22 17:48:55 2024 +0000

    2024-05-22 17:48:54 UTC

emerge -qpvO app-text/tesseract
[ebuild  N    ] app-text/tesseract-5.3.4  USE="openmp -doc -float32 -jpeg -opencl -png -static-libs -tiff -training -webp" ABI_X86="32 (64) (-x32)"
Comment 1 Toralf Förster gentoo-dev 2024-05-22 19:10:06 UTC
Created attachment 893911 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-05-22 19:10:07 UTC
Created attachment 893912 [details]
app-text:tesseract-5.3.4:20240522-184729.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-05-22 19:10:08 UTC
Created attachment 893913 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-05-22 19:10:09 UTC
Created attachment 893914 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-05-22 19:10:10 UTC
Created attachment 893915 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-05-22 19:10:11 UTC
Created attachment 893916 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-05-22 19:10:12 UTC
Created attachment 893917 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-05-22 19:10:13 UTC
Created attachment 893918 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-05-22 19:10:15 UTC
Created attachment 893919 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2024-05-22 19:10:15 UTC
Created attachment 893920 [details]
var.tmp.clang.tar.xz