Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 607302 - dev-lisp/sbcl-1.3.13 on hardened system: i686-pc-linux-gnu-gcc: error: unrecognized command line option '-no-pie'
Summary: dev-lisp/sbcl-1.3.13 on hardened system: i686-pc-linux-gnu-gcc: error: unreco...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Panagiotis Christopoulos (RETIRED)
URL:
Whiteboard:
Keywords:
: 608678 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-01-26 14:01 UTC by Anton Kochkov
Modified: 2017-02-09 15:03 UTC (History)
6 users (show)

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


Attachments
full build log (sbcl-build.log,9.95 KB, application/octet-stream)
2017-01-26 14:01 UTC, Anton Kochkov
Details
emerge --info output (emerge_info.log,16.96 KB, text/plain)
2017-01-26 14:02 UTC, Anton Kochkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Kochkov 2017-01-26 14:01:39 UTC
Created attachment 461504 [details]
full build log

make: Entering directory '/var/tmp/portage/dev-lisp/sbcl-1.3.13/work/sbcl-1.3.13/tools-for-build'
i686-pc-linux-gnu-gcc -O2 -march=core2 -mmmx -msse -msse2 -mssse3 -pipe -m32 -fno-omit-frame-pointer -fno-pie -fno-pie -I../src/runtime -Wl,-O1 -Wl,--as-needed -nopie -no-pie  determine-endianness.c  -ldl -o determine-endianness
i686-pc-linux-gnu-gcc: error: unrecognized command line option '-no-pie'
make: *** [<builtin>: determine-endianness] Error 1
make: Leaving directory '/var/tmp/portage/dev-lisp/sbcl-1.3.13/work/sbcl-1.3.13/tools-for-build'

From the build log it's clear that no-pie patch was applied. Somehow it didn't helped for this version

Related bug (was fixed for previous versions): https://bugs.gentoo.org/show_bug.cgi?id=599902
Comment 1 Anton Kochkov 2017-01-26 14:02:04 UTC
Created attachment 461506 [details]
emerge --info output
Comment 2 Andrey Grozin gentoo-dev 2017-02-05 15:59:53 UTC
commit 5e7f46f2b08b4703e3712baca84d92e736f22d7d
Author: Andrey Grozin <grozin@gentoo.org>
Date:   Sun Feb 5 22:57:21 2017 +0700

    dev-lisp/sbcl: in 1.3.13, patch out -no-pie also on x86
    
    Bug: 607302
    
    Package-Manager: Portage-2.3.3, Repoman-2.3.1
Comment 3 Toralf Förster gentoo-dev 2017-02-09 09:12:26 UTC
(In reply to Andrey Grozin from comment #2)
still an issue I fear :

x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -g -Wl,--export-dynamic -nopie -no-pie -o sbcl alloc.o backtrace.o breakpoint.o coreparse.o dynbind.o funcall.o gc-common.o globals.o interr.o interrupt.o largefile.o monitor.o os-common.o parse.o print.o purify.o pthread-futex.o regnames.o run-program.o runtime.o safepoint.o save.o sc-offset.o search.o thread.o time.o validate.o var-io.o vars.o wrap.o x86-64-arch.o linux-os.o x86-64-linux-os.o gencgc.o marknsweepgc.o x86-64-assem.o ldso-stubs.o -ldl -lpthread -lz -lm
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-no-pie'
make: *** [GNUmakefile:72: sbcl] Error 1
make: Leaving directory '/var/tmp/portage/dev-lisp/sbcl-1.3.14/work/sbcl-1.3.14/src/runtime'
 * ERROR: dev-lisp/sbcl-1.3.14::gentoo failed (compile phase):

--
versions: ~1.3.0 1.3.11 ~1.3.12 ~[I]1.3.13 ~1.3.14
assignee: pchrist@gentoo.org
cc:       sionescu+gentoo@cddr.org,nvinson234@gmail.com,common-lisp@gentoo.org,proxy-maint@gentoo.org
--
Comment 4 Toralf Förster gentoo-dev 2017-02-09 09:15:08 UTC
fails for dev-java/swing-worker-1.1 and dev-java/sun-dtdparser-1.0 and dev-java/glassfish-transaction-api- too
Comment 5 Chema Alonso Josa (RETIRED) gentoo-dev 2017-02-09 14:54:20 UTC
*** Bug 608678 has been marked as a duplicate of this bug. ***
Comment 6 Chema Alonso Josa (RETIRED) gentoo-dev 2017-02-09 15:03:45 UTC
It should be fixed now. Thanks