Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928745 - dev-db/sqlite-3.45.2 - clang: error: cannot specify -o when generating multiple output files
Summary: dev-db/sqlite-3.45.2 - clang: error: cannot specify -o when generating multip...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jakov Smolić
URL:
Whiteboard:
Keywords:
: 933352 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-04-06 16:58 UTC by Toralf Förster
Modified: 2024-07-14 09:22 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.25 KB, text/plain)
2024-04-06 16:58 UTC, Toralf Förster
Details
dev-db:sqlite-3.45.2:20240406-162016.log (dev-db:sqlite-3.45.2:20240406-162016.log,87.88 KB, text/plain)
2024-04-06 16:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,6.61 KB, text/plain)
2024-04-06 16:58 UTC, Toralf Förster
Details
environment (environment,115.36 KB, text/plain)
2024-04-06 16:58 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.17 KB, application/x-xz)
2024-04-06 16:58 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,29.86 KB, application/x-xz)
2024-04-06 16:58 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,8.59 KB, application/x-xz)
2024-04-06 16:58 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,37.13 KB, text/plain)
2024-04-06 16:58 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,31.89 KB, application/x-xz)
2024-04-06 16:58 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-04-06 16:58:07 UTC
too long lines were shrinked:

      |         ^~~~~~~~ ~~~~~~~~~~~~~~~~
touch has_tclsh85
./libtool --mode=link clang -DSQLITE_SOUNDEX -DSQLITE_USE_URI  -O2 -pipe -march=native -fno-diagnostics-color -DSQLITE_OS_UNIX=1 -I. -I/var/tmp/portage/dev-db/sqlite-3.45.2/work/sqlite-src-3450200-abi_x86_64.amd64/src -I/var/tmp/portage/dev-db/sqlite-3.45.2/work/sqlite-src-3450200-abi_x86_64.amd64/e
tclsh8.6 /var/tmp/portage/dev-db/sqlite-3.45.2/work/sqlite-src-3450200-abi_x86_64.amd64/tool/mkccode.tcl /var/tmp/portage/dev-db/sqlite-3.45.2/work/sqlite-src-3450200-abi_x86_64.amd64/tool/sqltclsh.c.in >sqltclsh.c
libtool: link: clang -DSQLITE_SOUNDEX -DSQLITE_USE_URI -O2 -pipe -march=native -fno-diagnostics-color -DSQLITE_OS_UNIX=1 -I. -I/var/tmp/portage/dev-db/sqlite-3.45.2/work/sqlite-src-3450200-abi_x86_64.amd64/src -I/var/tmp/portage/dev-db/sqlite-3.45.2/work/sqlite-src-3450200-abi_x86_64.amd64/ext/rtree
2 warnings generated.
clang: error: cannot specify -o when generating multiple output files
tclsh8.6 /var/tmp/portage/dev-db/sqlite-3.45.2/work/sqlite-src-3450200-abi_x86_64.amd64/tool/mkccode.tcl /var/tmp/portage/dev-db/sqlite-3.45.2/work/sqlite-src-3450200-abi_x86_64.amd64/tool/sqlite3_analyzer.c.in >sqlite3_analyzer.c
make: *** [Makefile:1416: sqlite3_expert] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_llvm-20240406-094023

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 18.1.3+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.3+libcxx
Python 3.11.8
php cli (if any):

  HEAD of ::gentoo
commit b65cba360cad71f16fa4079db56b13980bfeb7c5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Apr 6 15:11:19 2024 +0000

    2024-04-06 15:11:11 UTC

emerge -qpvO dev-db/sqlite
[ebuild     U ] dev-db/sqlite-3.45.2 [3.45.1-r1] USE="readline tools* -debug -doc -icu -secure-delete -static-libs -tcl -test" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2024-04-06 16:58:08 UTC
Created attachment 889607 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-06 16:58:09 UTC
Created attachment 889608 [details]
dev-db:sqlite-3.45.2:20240406-162016.log
Comment 3 Toralf Förster gentoo-dev 2024-04-06 16:58:10 UTC
Created attachment 889609 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-04-06 16:58:11 UTC
Created attachment 889610 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-04-06 16:58:12 UTC
Created attachment 889611 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-06 16:58:13 UTC
Created attachment 889612 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-06 16:58:14 UTC
Created attachment 889613 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-04-06 16:58:15 UTC
Created attachment 889614 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-04-06 16:58:16 UTC
Created attachment 889615 [details]
temp.tar.xz
Comment 10 Ștefan Talpalaru 2024-04-09 17:28:59 UTC
Try setting CLANG_NO_DEFAULT_CONFIG=1 in the environment, to disable Gentoo's config files which set some linker flags that not all Clang stages know how to handle.

More details: https://github.com/stefantalpalaru/gentoo-overlay/blob/c30f1653bd71b2328e942fea2cbf86bc3c309753/dev-lang/chapel/files/chapel-2.0.0-no-default-config.patch
Comment 11 Jakov Smolić archtester gentoo-dev 2024-06-03 08:18:20 UTC
*** Bug 933352 has been marked as a duplicate of this bug. ***