Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 918936 - sys-libs/db-5.3.28-r9 - [clang] ./dbstl_common.h: error: No appropriate TLS modifier defined.
Summary: sys-libs/db-5.3.28-r9 - [clang] ./dbstl_common.h: error: No appropriate TLS m...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-01 09:23 UTC by Toralf Förster
Modified: 2023-12-02 21:28 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.28 KB, text/plain)
2023-12-01 09:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,61.89 KB, text/plain)
2023-12-01 09:23 UTC, Toralf Förster
Details
environment (environment,124.21 KB, text/plain)
2023-12-01 09:23 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.13 KB, application/x-xz)
2023-12-01 09:23 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,20.57 KB, application/x-xz)
2023-12-01 09:23 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,16.48 KB, application/x-xz)
2023-12-01 09:23 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,137.50 KB, text/plain)
2023-12-01 09:23 UTC, Toralf Förster
Details
sys-libs:db-5.3.28-r9:20231130-232941.log.xz (sys-libs:db-5.3.28-r9:20231130-232941.log.xz,49.73 KB, application/x-xz)
2023-12-01 09:23 UTC, Toralf Förster
Details
var.tmp.clang.tar.xz (var.tmp.clang.tar.xz,3.06 KB, application/x-xz)
2023-12-01 09:23 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 2023-12-01 09:23:02 UTC
too long lines were shrinked:

./libtool --mode=compile clang++ -c -I. -I/var/tmp/portage/sys-libs/db-5.3.28-r9/work/db-5.3.28/src  -D_GNU_SOURCE -D_REENTRANT -O2 -pipe -march=native -fno-diagnostics-color -I/var/tmp/portage/sys-libs/db-5.3.28-r9/work/db-5.3.28/lang/cxx/stl /var/tmp/portage/sys-libs/db-5.3.28-r9/work/db-5.3.28/la
libtool: compile:  clang++ -c -I. -I/var/tmp/portage/sys-libs/db-5.3.28-r9/work/db-5.3.28/src -D_GNU_SOURCE -D_REENTRANT -O2 -pipe -march=native -fno-diagnostics-color -I/var/tmp/portage/sys-libs/db-5.3.28-r9/work/db-5.3.28/lang/cxx/stl /var/tmp/portage/sys-libs/db-5.3.28-r9/work/db-5.3.28/lang/cxx/
./libtool --mode=compile clang -c -I. -I/var/tmp/portage/sys-libs/db-5.3.28-r9/work/db-5.3.28/src  -D_GNU_SOURCE -D_REENTRANT -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int  /var/tmp/portage/sys-libs/db-5.3.28-r9/work/db-5.3.28/util/db_archi
./libtool --mode=compile clang -c -I. -I/var/tmp/portage/sys-libs/db-5.3.28-r9/work/db-5.3.28/src  -D_GNU_SOURCE -D_REENTRANT -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int  /var/tmp/portage/sys-libs/db-5.3.28-r9/work/db-5.3.28/src/common/ut
In file included from /var/tmp/portage/sys-libs/db-5.3.28-r9/work/db-5.3.28/lang/cxx/stl/dbstl_container.cpp:11:
In file included from /var/tmp/portage/sys-libs/db-5.3.28-r9/work/db-5.3.28/lang/cxx/stl/dbstl_container.h:12:
./dbstl_common.h:57:2: error: "No appropriate TLS modifier defined."
   57 | #error "No appropriate TLS modifier defined."
      |  ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd_merged_usr-20231128-203237

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] 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
Python 3.11.6
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]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit ee28b7d58666c1d047b807566a84c34d155eae00
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Nov 30 23:02:01 2023 +0000

    2023-11-30 23:02:01 UTC

emerge -qpvO sys-libs/db
[ebuild   R   ] sys-libs/db-6.0.35-r4  USE="cxx -doc -examples -tcl -test" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2023-12-01 09:23:03 UTC
Created attachment 876056 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-01 09:23:05 UTC
Created attachment 876057 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-01 09:23:06 UTC
Created attachment 876058 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-01 09:23:07 UTC
Created attachment 876059 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-01 09:23:07 UTC
Created attachment 876060 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-01 09:23:08 UTC
Created attachment 876061 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-01 09:23:10 UTC
Created attachment 876062 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2023-12-01 09:23:11 UTC
Created attachment 876063 [details]
sys-libs:db-5.3.28-r9:20231130-232941.log.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-01 09:23:12 UTC
Created attachment 876064 [details]
var.tmp.clang.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2023-12-02 04:03:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ae36006c79ef705252f5f7009e79f6add7dc353

commit 1ae36006c79ef705252f5f7009e79f6add7dc353
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-12-02 03:51:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-02 04:01:46 +0000

    sys-libs/db: fix another configure check for modern c
    
    Closes: https://bugs.gentoo.org/898074
    Closes: https://bugs.gentoo.org/918936
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-libs/db/db-4.8.30-r9.ebuild                 | 171 +++++++++++++++++
 sys-libs/db/db-5.3.28-r10.ebuild                | 240 ++++++++++++++++++++++++
 sys-libs/db/db-6.0.35-r5.ebuild                 | 234 +++++++++++++++++++++++
 sys-libs/db/files/db-4.8.30-tls-configure.patch |  31 +++
 4 files changed, 676 insertions(+)