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

Bug 707210

Summary: dev-db/redis-5.0.7 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal CC: hydrapolic
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/antirez/redis/issues/6810
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
dev-db:redis-5.0.7:20200129-070848.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-29 18:03:01 UTC
  941 |     for (i = 0; i < (sizeof(cmds)/sizeof(*cmds) - 1); i++) {
      |                   ^
x86_64-pc-linux-gnu-gcc -std=c99 -pedantic -DREDIS_STATIC='' -Wall -W -Wno-missing-field-initializers -O2 -std=c99 -pedantic -Wall -W -D__EXTENSIONS__ -D_XPG6 -O2 -pipe -march=native -fno-common -DENABLE_CJSON_GLOBAL  -I../deps/hiredis -I../deps/linenoise  -DUSE_JEMALLOC -DJEMALLOC_NO_DEMANGLE -c lua_struct.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed  -rdynamic -o redis-server adlist.o quicklist.o ae.o anet.o dict.o server.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o zipmap.o sha1.o ziplist.o release.o networking.o util.o object.o db.o replication.o rdb.o t_string.o t_list.o t_set.o t_zset.o t_hash.o config.o aof.o pubsub.o multi.o debug.o sort.o intset.o syncio.o cluster.o crc16.o endianconv.o slowlog.o scripting.o bio.o rio.o rand.o memtest.o crc64.o bitops.o sentinel.o notify.o setproctitle.o blocked.o hyperloglog.o latency.o sparkline.o redis-check-rdb.o redis-check-aof.o geo.o lazyfree.o module.o evict.o expire.o geohash.o geohash_helper.o childinfo.o defrag.o siphash.o rax.o t_stream.o listpack.o localtime.o lolwut.o lolwut5.o fpconv.o strbuf.o lua_bit.o lua_cjson.o lua_cmsgpack.o lua_struct.o ../deps/hiredis/libhiredis.a -lm -llua -lm  -ldl -pthread -lrt -ljemalloc -ldl
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: server.o:(.bss+0x149f0): multiple definition of `SDS_NOINIT'; quicklist.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sds.o:(.data.rel.local+0x0): multiple definition of `SDS_NOINIT'; quicklist.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-libressl_test-20200126-104546

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)

Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 29 Jan 2020 05:26:17 +0000

emerge -qpvO dev-db/redis
[ebuild  N    ] dev-db/redis-5.0.7  USE="jemalloc test -luajit -tcmalloc"
Comment 1 Toralf Förster gentoo-dev 2020-01-29 18:03:04 UTC
Created attachment 607926 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 18:03:08 UTC
Created attachment 607928 [details]
dev-db:redis-5.0.7:20200129-070848.log
Comment 3 Toralf Förster gentoo-dev 2020-01-29 18:03:13 UTC
Created attachment 607930 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-29 18:03:19 UTC
Created attachment 607932 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-29 18:03:24 UTC
Created attachment 607934 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 18:03:28 UTC
Created attachment 607936 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-29 18:03:32 UTC
Created attachment 607938 [details]
temp.tbz2
Comment 8 Tomáš Mózes 2020-03-23 14:11:57 UTC
Fixed upstream in 5.0.8.