Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708380 - net-proxy/shadowsocks-libev-3.3.4 : fails to build with -fno-common or gcc-10
Summary: net-proxy/shadowsocks-libev-3.3.4 : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Yixun Lan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-05 18:12 UTC by Toralf Förster
Modified: 2020-06-01 02:38 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.97 KB, text/plain)
2020-02-05 18:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,103.86 KB, text/plain)
2020-02-05 18:12 UTC, Toralf Förster
Details
environment (environment,73.39 KB, text/plain)
2020-02-05 18:12 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.53 KB, application/x-bzip)
2020-02-05 18:12 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,12.44 KB, application/x-bzip)
2020-02-05 18:12 UTC, Toralf Förster
Details
net-proxy:shadowsocks-libev-3.3.4:20200205-074109.log (net-proxy:shadowsocks-libev-3.3.4:20200205-074109.log,21.10 KB, text/plain)
2020-02-05 18:12 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.19 KB, application/x-bzip)
2020-02-05 18:12 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-02-05 18:12:06 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=gnu99 -D_GNU_SOURCE -pthread   -DMODULE_LOCAL -O2 -pipe -march=native -fno-common -pthread -fstack-protector -c -o ss_local-rule.o `test -f 'rule.c' || echo './'`rule.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=gnu99 -D_GNU_SOURCE -pthread   -DMODULE_LOCAL -O2 -pipe -march=native -fno-common -pthread -fstack-protector -c -o ss_local-acl.o `test -f 'acl.c' || echo './'`acl.c
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=gnu99 -D_GNU_SOURCE -pthread   -DMODULE_LOCAL -O2 -pipe -march=native -fno-common -pthread -fstack-protector  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o ss-local ss_local-local.o ss_local-utils.o ss_local-jconf.o ss_local-json.o ss_local-udprelay.o ss_local-cache.o ss_local-netutils.o  ss_local-crypto.o ss_local-aead.o ss_local-stream.o ss_local-ppbloom.o ss_local-base64.o ss_local-plugin.o ss_local-http.o ss_local-tls.o ss_local-rule.o ss_local-acl.o    -lbloom -lcork -lcorkipset -lev -lsodium -lm -lcares -lev  -lcares -lsodium -lmbedcrypto -lpcre 
libtool: link: x86_64-pc-linux-gnu-gcc -g -O2 -Wall -Werror -Wno-deprecated-declarations -fno-strict-aliasing -std=gnu99 -D_GNU_SOURCE -pthread -DMODULE_LOCAL -O2 -pipe -march=native -fno-common -pthread -fstack-protector -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o ss-local ss_local-local.o ss_local-utils.o ss_local-jconf.o ss_local-json.o ss_local-udprelay.o ss_local-cache.o ss_local-netutils.o ss_local-crypto.o ss_local-aead.o ss_local-stream.o ss_local-ppbloom.o ss_local-base64.o ss_local-plugin.o ss_local-http.o ss_local-tls.o ss_local-rule.o ss_local-acl.o  -Wl,--as-needed -lbloom -lcork -lcorkipset -lm -lev -lcares -lsodium -lmbedcrypto -lpcre -pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ss_local-http.o:/var/tmp/portage/net-proxy/shadowsocks-libev-3.3.4/work/shadowsocks-libev-3.3.4/src/http.h:32: multiple definition of `http_protocol'; ss_local-local.o:/var/tmp/portage/net-proxy/shadowsocks-libev-3.3.4/work/shadowsocks-libev-3.3.4/src/http.h:32: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ss_local-tls.o:/var/tmp/portage/net-proxy/shadowsocks-libev-3.3.4/work/shadowsocks-libev-3.3.4/src/tls.h:31: multiple definition of `tls_protocol'; ss_local-local.o:/var/tmp/portage/net-proxy/shadowsocks-libev-3.3.4/work/shadowsocks-libev-3.3.4/src/tls.h:31: first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-libressl-20200202-211607

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

  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)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 05 Feb 2020 06:52:33 +0000

emerge -qpvO net-proxy/shadowsocks-libev
[ebuild  N    ] net-proxy/shadowsocks-libev-3.3.4  USE="-debug -doc"
Comment 1 Toralf Förster gentoo-dev 2020-02-05 18:12:09 UTC
Created attachment 611886 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-05 18:12:12 UTC
Created attachment 611888 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-05 18:12:15 UTC
Created attachment 611890 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-05 18:12:17 UTC
Created attachment 611892 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-05 18:12:20 UTC
Created attachment 611894 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-05 18:12:23 UTC
Created attachment 611896 [details]
net-proxy:shadowsocks-libev-3.3.4:20200205-074109.log
Comment 7 Toralf Förster gentoo-dev 2020-02-05 18:12:26 UTC
Created attachment 611898 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-06-01 02:38:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2847306d107bc3dc5df5981de5295a24bd258bc0

commit 2847306d107bc3dc5df5981de5295a24bd258bc0
Author:     Yixun Lan <dlan@gentoo.org>
AuthorDate: 2020-06-01 02:36:55 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2020-06-01 02:37:37 +0000

    net-proxy/shadowsocks-libev: fix gcc10 compiling error
    
    Closes: https://bugs.gentoo.org/708380
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 .../files/shadowsocks-libev-3.3.4-gcc10.patch      | 24 ++++++++++++++++++++++
 .../shadowsocks-libev-3.3.4.ebuild                 |  3 +++
 2 files changed, 27 insertions(+)