Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708688 - app-mobilephone/kannel-sqlbox-1.5.0-r1 : fails to build with -fno-common or gcc-10
Summary: app-mobilephone/kannel-sqlbox-1.5.0-r1 : fails to build with -fno-common or g...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Travis Hansen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-08 08:15 UTC by Toralf Förster
Modified: 2020-02-08 08:15 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.33 KB, text/plain)
2020-02-08 08:15 UTC, Toralf Förster
Details
app-mobilephone:kannel-sqlbox-1.5.0-r1:20200208-001129.log (app-mobilephone:kannel-sqlbox-1.5.0-r1:20200208-001129.log,36.29 KB, text/plain)
2020-02-08 08:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,167.46 KB, text/plain)
2020-02-08 08:15 UTC, Toralf Förster
Details
environment (environment,89.81 KB, text/plain)
2020-02-08 08:15 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.00 KB, application/x-bzip)
2020-02-08 08:15 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.77 KB, application/x-bzip)
2020-02-08 08:15 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-08 08:15:04 UTC
      |           ^
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/kannel -O2 -pipe -march=native -fno-strict-aliasing -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/uuid -D_LARGE_FILES= -I/usr/include/libxml2  -Wall -I/usr/include/openssl -I/usr/include/postgresql-12  -Wl,-O1 -Wl,--as-needed -Wl,--no-as-needed -rdynamic -L/usr/lib64/kannel -lgw -lwap -lgwlib -lpq -ldl -lpam -lpcreposix -lrt -lresolv -lnsl -lm  -luuid -lpthread -lxml2 -lz -lm -ldl -L/usr/lib64 -lpcreposix -lpcre -L/usr/lib64 -L/usr/lib64/postgresql-12/lib64  -o sqlbox sqlbox.o sqlbox_mssql.o sqlbox_mysql.o sqlbox_pgsql.o sqlbox_sdb.o sqlbox_sqlite.o sqlbox_sqlite3.o sqlbox_oracle.o sqlbox_sql.o  -lgwlib 
mkdir .libs
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/kannel -O2 -pipe -march=native -fno-strict-aliasing -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/uuid -D_LARGE_FILES= -I/usr/include/libxml2 -Wall -I/usr/include/openssl -I/usr/include/postgresql-12 -Wl,-O1 -Wl,--as-needed -Wl,--no-as-needed -rdynamic -o sqlbox sqlbox.o sqlbox_mssql.o sqlbox_mysql.o sqlbox_pgsql.o sqlbox_sdb.o sqlbox_sqlite.o sqlbox_sqlite3.o sqlbox_oracle.o sqlbox_sql.o  -L/usr/lib64/kannel -lgw -lwap -lpq -lpam -lrt -lresolv -lnsl -luuid -lpthread -lxml2 -lz -lm -ldl -L/usr/lib64 -lpcreposix -lpcre -L/usr/lib64/postgresql-12/lib64 -lgwlib  
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sqlbox_pgsql.o:(.bss+0x0): multiple definition of `sqlbox_id'; sqlbox.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-test-20200203-215003

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

  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.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)

Available Rust versions:
  [1]   rust-1.41.0 *


ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 07 Feb 2020 23:27:06 +0000

emerge -qpvO app-mobilephone/kannel-sqlbox
[ebuild  N    ] app-mobilephone/kannel-sqlbox-1.5.0-r1  USE="ssl -doc"
Comment 1 Toralf Förster gentoo-dev 2020-02-08 08:15:07 UTC
Created attachment 612650 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-08 08:15:10 UTC
Created attachment 612652 [details]
app-mobilephone:kannel-sqlbox-1.5.0-r1:20200208-001129.log
Comment 3 Toralf Förster gentoo-dev 2020-02-08 08:15:13 UTC
Created attachment 612654 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-08 08:15:16 UTC
Created attachment 612656 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-08 08:15:20 UTC
Created attachment 612658 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-08 08:15:22 UTC
Created attachment 612660 [details]
logs.tbz2