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

Bug 712818

Summary: app-admin/tmpwatch-2.11-r3 : bind-mount.c:(.text+<snip>): undefined reference to obstack_free
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: maintainer-needed
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: sys-libs/obstack-standalone
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-admin:tmpwatch-2.11-r2:20200315-225713.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-16 13:19:55 UTC
x86_64-gentoo-linux-musl-gcc  -O2 -pipe -march=native -fno-common -falign-functions=32:25:16  -Wall -W -Wcast-align -Wmissing-noreturn -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings  -Wl,-O1 -Wl,--as-needed -o tmpwatch bind-mount.o tmpwatch.o lib/libgnu.a   
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: bind-mount.o: in function parse_mount_string:
bind-mount.c:(.text+0x220): undefined reference to obstack_free
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: bind-mount.c:(.text+0x2d9): undefined reference to _obstack_newchunk
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: bind-mount.c:(.text+0x30d): undefined reference to _obstack_newchunk
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: bind-mount.c:(.text+0x368): undefined reference to obstack_free

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200311-204810

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.2.0 *
 [2] x86_64-gentoo-linux-musl-9.3.0
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.41.1
  [2]   rust-1.41.1 *
The following VMs are available for generation-2:

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 15 Mar 2020 21:38:28 +0000
emerge -qpvO app-admin/tmpwatch
[ebuild  N    ] app-admin/tmpwatch-2.11-r2  USE="(-selinux)"
Comment 1 Toralf Förster gentoo-dev 2020-03-16 13:19:58 UTC
Created attachment 620172 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-16 13:20:00 UTC
Created attachment 620174 [details]
app-admin:tmpwatch-2.11-r2:20200315-225713.log
Comment 3 Toralf Förster gentoo-dev 2020-03-16 13:20:03 UTC
Created attachment 620176 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-16 13:20:06 UTC
Created attachment 620178 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-16 13:20:09 UTC
Created attachment 620180 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-16 13:20:12 UTC
Created attachment 620182 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-16 13:20:15 UTC
Created attachment 620184 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2020-03-16 16:12:27 UTC
The first attempt to tinderbox a musl image failed at all.

I'll mass close therefore all filed bug reports of the last days related to this tinderbox image.

Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay.
Comment 9 Michael 'veremitz' Everitt 2020-03-31 07:23:25 UTC
Likely a missing dependency on sys-libs/obstack-standalone .
Comment 10 Agostino Sarubbo gentoo-dev 2021-12-30 06:59:49 UTC
tinderbox_musl has reproduced this issue with version 2.11-r3 - Updating summary.