Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713632 - dev-lang/yap-6.3.3-r1 : fails to build with -fno-common or gcc-10
Summary: dev-lang/yap-6.3.3-r1 : 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 (vote)
Assignee: Gentoo Prolog project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common gcc-10-stable
  Show dependency tree
 
Reported: 2020-03-20 14:55 UTC by Toralf Förster
Modified: 2021-01-07 13:42 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.22 KB, text/plain)
2020-03-20 14:55 UTC, Toralf Förster
Details
dev-lang:yap-6.3.3-r1:20200320-071826.log (dev-lang:yap-6.3.3-r1:20200320-071826.log,97.48 KB, text/plain)
2020-03-20 14:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,133.57 KB, text/plain)
2020-03-20 14:55 UTC, Toralf Förster
Details
environment (environment,159.00 KB, text/plain)
2020-03-20 14:55 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.25 KB, application/x-bzip)
2020-03-20 14:55 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,19.79 KB, application/x-bzip)
2020-03-20 14:55 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,42.96 KB, application/x-bzip)
2020-03-20 14:55 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-03-20 14:55:03 UTC
x86_64-pc-linux-gnu-gcc -c -shared -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -fno-strict-aliasing -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS os/libtai/caltime_scan.c -o caltime_scan.o
x86_64-pc-linux-gnu-gcc -c -shared -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -fno-strict-aliasing -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS os/libtai/caltime_tai.c -o caltime_tai.o
x86_64-pc-linux-gnu-gcc -c -shared -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -fno-strict-aliasing -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS os/libtai/caltime_utc.c -o caltime_utc.o
x86_64-pc-linux-gnu-gcc -shared -o libYap.so agc.o absmi.o adtdefs.o alloc.o amasm.o analyst.o arrays.o arith0.o arith1.o arith2.o attvar.o bignum.o bb.o cdmgr.o cmppreds.o compiler.o computils.o corout.o cut_c.o dbase.o dlmalloc.o errors.o eval.o exec.o exo.o globals.o gmp_support.o gprof.o grow.o heapgc.o index.o init.o  inlines.o iopreds.o depth_bound.o mavar.o myddas_mysql.o myddas_odbc.o myddas_shared.o myddas_initialization.o myddas_util.o myddas_statistics.o myddas_top_level.o myddas_wkb2prolog.o modules.o other.o parser.o qlyr.o qlyw.o range.o save.o scanner.o sort.o stdpreds.o sysbits.o threads.o tracer.o udi.o unify.o userpreds.o utilpreds.o yap-args.o write.o blobs.o swi.o ypstdio.o pl-buffer.o pl-codelist.o pl-ctype.o pl-dtoa.o pl-error.o pl-file.o pl-files.o pl-fmt.o pl-glob.o pl-option.o pl-nt.o pl-os.o pl-privitf.o pl-prologflag.o pl-read.o pl-rl.o pl-stream.o pl-string.o pl-table.o pl-tai.o pl-text.o pl-utf8.o pl-write.o pl-yap.o    load_foreign.o load_dl.o load_dld.o load_dyld.o load_none.o load_aout.o load_aix.o load_dll.o load_shl.o c_interface.o clause_list.o or.memory.o opt.init.o opt.preds.o or.copy_engine.o or.cow_engine.o or.sba_engine.o or.thread_engine.o or.scheduler.o or.cut.o tab.tries.o tab.completion.o eamamasm.o eam_showcode.o eamindex.o eam_am.o  tai_add.o tai_now.o tai_pack.o tai_sub.o tai_unpack.o taia_add.o taia_approx.o taia_fmtfrac.o taia_frac.o taia_half.o taia_less.o taia_now.o taia_pack.o taia_sub.o taia_tai.o taia_unpack.o caldate_fmt.o caldate_scan.o caldate_fmjd.o caldate_mjd.o caldate_norm.o caldate_ster.o leapsecs_read.o leapsecs_init.o leapsecs_add.o leapsecs_sub.o caltime_fmt.o caltime_scan.o caltime_tai.o caltime_utc.o -lreadline -lncurses -lresolv -lnss_dns -lnss_files -lcrypt -lstdc++ -lm  -ldl -lnsl -rdynamic -Wl,-O1 -Wl,--as-needed -L/usr/lib64 -L/usr/lib -L/var/tmp/portage/dev-lang/yap-6.3.3-r1/work/yap-6.3.3 -Wl,-R/usr/lib64 -Wl,-R,/usr/lib64/Yap -Wl,-soname=libYap.so
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: pl-codelist.o:(.bss+0x0): multiple definition of ATOM_; pl-buffer.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: pl-ctype.o:(.bss+0x0): multiple definition of ATOM_; pl-buffer.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-test-20200310-081612

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
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 Rust versions:
  [1]   rust-1.41.1 *
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

The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Mar 2020 13:38:27 +0000
emerge -qpvO dev-lang/yap
[ebuild  N    ] dev-lang/yap-6.3.3-r1  USE="readline -R -debug -doc -examples -gmp -java -mpi -mysql -odbc -static -threads"
Comment 1 Toralf Förster gentoo-dev 2020-03-20 14:55:06 UTC
Created attachment 623172 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-20 14:55:08 UTC
Created attachment 623174 [details]
dev-lang:yap-6.3.3-r1:20200320-071826.log
Comment 3 Toralf Förster gentoo-dev 2020-03-20 14:55:11 UTC
Created attachment 623176 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-20 14:55:14 UTC
Created attachment 623178 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-20 14:55:17 UTC
Created attachment 623180 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-20 14:55:19 UTC
Created attachment 623182 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-20 14:55:22 UTC
Created attachment 623184 [details]
temp.tbz2
Comment 8 Keri Harris gentoo-dev 2021-01-07 13:42:15 UTC
A workaround has been applied to yap-6.3.4.