Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712278 - dev-lang/snobol-1.4.1 : fails to build with -fno-common or gcc-10
Summary: dev-lang/snobol-1.4.1 : 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: Robin Johnson
URL:
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-03-12 19:53 UTC by Toralf Förster
Modified: 2021-02-17 09:37 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.04 KB, text/plain)
2020-03-12 19:53 UTC, Toralf Förster
Details
dev-lang:snobol-1.4.1:20200312-120340.log (dev-lang:snobol-1.4.1:20200312-120340.log,36.83 KB, text/plain)
2020-03-12 19:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,220.23 KB, text/plain)
2020-03-12 19:53 UTC, Toralf Förster
Details
environment (environment,11.60 KB, text/plain)
2020-03-12 19:53 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,20.25 KB, application/x-bzip)
2020-03-12 19:53 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,7.35 KB, application/x-bzip)
2020-03-12 19:53 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-12 19:53:00 UTC
echo const char build_dir[] = pwd;		>> build.c
gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wuninitialized -Wunused -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -O3 -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Iinclude -I.  -DHAVE_CONFIG_H -DUSE_STDARG_H -DHAVE_STDARG_H  -c build.c
rm -f xsnobol4
gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wuninitialized -Wunused -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -O3 -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Iinclude -I.  -DHAVE_CONFIG_H -DUSE_STDARG_H -DHAVE_STDARG_H  -o xsnobol4 main.o isnobol4.o data.o data_init.o syn.o bal.o date.o dump.o dynamic.o endex.o expops.o hash.o inet6.o init.o intspc.o io.o lexcmp.o load.o mstime.o ordvst.o pair.o pat.o pml.o realst.o replace.o spcint.o spreal.o str.o stream.o suspend.o term.o top.o tree.o tty.o  snolib.a build.o -ldl -export-dynamic -ldb -lreadline -Wl,-O1 -Wl,--as-needed -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: isnobol4.o:(.bss+0x0): multiple definition of _NORET; main.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: data_init.o:(.bss+0x0): multiple definition of _NORET; main.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20200307-081604

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

  Please see the tracker bug for details.

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

clang:
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
llvm:
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.41.1 *
  [2]   rust-1.41.1


ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 12 Mar 2020 10:38:59 +0000

emerge -qpvO dev-lang/snobol
[ebuild  N    ] dev-lang/snobol-1.4.1  USE="-doc"
Comment 1 Toralf Förster gentoo-dev 2020-03-12 19:53:03 UTC
Created attachment 618124 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-12 19:53:06 UTC
Created attachment 618126 [details]
dev-lang:snobol-1.4.1:20200312-120340.log
Comment 3 Toralf Förster gentoo-dev 2020-03-12 19:53:09 UTC
Created attachment 618128 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-12 19:53:12 UTC
Created attachment 618130 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-12 19:53:14 UTC
Created attachment 618132 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-12 19:53:17 UTC
Created attachment 618134 [details]
temp.tbz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-31 06:57:19 UTC
Bump may help? http://www.snobol4.org/csnobol4/2.1/CHANGES
Comment 8 Larry the Git Cow gentoo-dev 2021-02-17 09:37:02 UTC
The bug has been closed via the following commit(s):

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

commit a7c3ce7ad6d180012f9917bd51724ae31d32194f
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-17 09:36:10 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-02-17 09:36:10 +0000

    dev-lang/snobol: Port to EAPI 7
    
    Closes: https://bugs.gentoo.org/712278
    
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../snobol/files/snobol-1.4.1-fno-common.patch     | 31 ++++++++++++++++
 dev-lang/snobol/metadata.xml                       |  8 ++---
 ...{snobol-1.4.1.ebuild => snobol-1.4.1-r1.ebuild} | 41 +++++++++++-----------
 3 files changed, 56 insertions(+), 24 deletions(-)