Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716436 - dev-ruby/google-protobuf-3.11.4 : upb.c:(.text+<snip>): undefined reference to _va_copy
Summary: dev-ruby/google-protobuf-3.11.4 : upb.c:(.text+<snip>): undefined reference t...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-06 10:21 UTC by Toralf Förster
Modified: 2020-04-06 10:22 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.01 KB, text/plain)
2020-04-06 10:22 UTC, Toralf Förster
Details
dev-ruby:google-protobuf-3.11.4:20200406-071719.log (dev-ruby:google-protobuf-3.11.4:20200406-071719.log,8.22 KB, text/plain)
2020-04-06 10:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,356.70 KB, text/plain)
2020-04-06 10:22 UTC, Toralf Förster
Details
environment (environment,78.24 KB, text/plain)
2020-04-06 10:22 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,26.05 KB, application/x-bzip)
2020-04-06 10:22 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 2020-04-06 10:21:58 UTC
x86_64-gentoo-linux-musl-gcc -shared -o protobuf_c.so protobuf.o defs.o storage.o message.o repeated_field.o map.o encode_decode.o upb.o wrap_memcpy.o -L. -L/usr/lib -L. -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -Wl,-wrap,memcpy -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--compress-debug-sections=zlib    -lruby24  -lpthread -lgmp -ldl -lcrypt -lm   -lc
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: upb.o: in function putf:
upb.c:(.text+0x17381): undefined reference to __va_copy
collect2: error: ld returned 1 exit status
make: *** [Makefile:260: protobuf_c.so] Error 1
make: Leaving directory /var/tmp/portage/dev-ruby/google-protobuf-3.11.4/work/ruby24/protobuf-3.11.4/ruby/ext/google/protobuf_c

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

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

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

gcc-config -l:
 [1] 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-1.42.0 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)


timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Apr  6 06:37:59 UTC 2020
/var/db/repos/musl	Sat Apr  4 03:02:24 UTC 2020

emerge -qpvO dev-ruby/google-protobuf
[ebuild  N    ] dev-ruby/google-protobuf-3.11.4  USE="-doc -test" RUBY_TARGETS="ruby24 ruby25 -ruby26"
Comment 1 Toralf Förster gentoo-dev 2020-04-06 10:22:01 UTC
Created attachment 630700 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-06 10:22:04 UTC
Created attachment 630702 [details]
dev-ruby:google-protobuf-3.11.4:20200406-071719.log
Comment 3 Toralf Förster gentoo-dev 2020-04-06 10:22:07 UTC
Created attachment 630704 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-04-06 10:22:09 UTC
Created attachment 630706 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-04-06 10:22:12 UTC
Created attachment 630708 [details]
etc.portage.tbz2