Bug 1374283 - /usr/bin/ld.gold: noexecheap: unknown -z option
Summary: /usr/bin/ld.gold: noexecheap: unknown -z option
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: binutils
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nick Clifton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-08 11:54 UTC by Harald Reindl
Modified: 2017-08-08 17:11 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-08 17:11:42 UTC
Type: Bug


Attachments (Terms of Use)

Description Harald Reindl 2016-09-08 11:54:19 UTC
configure:3817: checking whether the C compiler works
configure:3839: gcc -m64 -O2 -g0 -march=sandybridge -mtune=sandybridge -mavx -fopenmp -mfpmath=sse -pipe -fno-strict-aliasing -fomit-frame-pointer -finline-functions -fexceptions -fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat -Werror=format-security -O3 -g0 -fno-math-errno -fipa-cp -fipa-cp-alignment -fira-loop-pressure -fivopts -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-ivcanon -ftree-loop-vectorize -ftree-slp-vectorize -ftree-vectorize -funroll-loops -funswitch-loops -minline-all-stringops -Wno-pointer-sign -Wno-stack-protector -flto -fno-fat-lto-objects -flto-compression-level=1 -fuse-ld=gold -fuse-linker-plugin -fPIC -Wa,--noexecstack -m64 -O2 -g0 -march=sandybridge -mtune=sandybridge -mavx -fopenmp -mfpmath=sse -pipe -fno-strict-aliasing -fomit-frame-pointer -finline-functions -fexceptions -fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat -Werror=format-security -O3 -g0 -fno-math-errno -fipa-cp -fipa-cp-alignment -fira-loop-pressure -fivopts -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-ivcanon -ftree-loop-vectorize -ftree-slp-vectorize -ftree-vectorize -funroll-loops -funswitch-loops -minline-all-stringops -Wno-pointer-sign -Wno-stack-protector -flto -fno-fat-lto-objects -flto-compression-level=1 -fuse-ld=gold -fuse-linker-plugin -fPIC -Wa,--noexecstack  -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,-z,nodump -Wl,-z,noexecheap,-fuse-ld=gold,-flto-compression-level=1 -m64 -O2 -g0 -march=sandybridge -mtune=sandybridge -mavx -fopenmp -mfpmath=sse -pipe -fno-strict-aliasing -fomit-frame-pointer -finline-functions -fexceptions -fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat -Werror=format-security -O3 -g0 -fno-math-errno -fipa-cp -fipa-cp-alignment -fira-loop-pressure -fivopts -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-ivcanon -ftree-loop-vectorize -ftree-slp-vectorize -ftree-vectorize -funroll-loops -funswitch-loops -minline-all-stringops -Wno-pointer-sign -Wno-stack-protector -flto -fno-fat-lto-objects -flto-compression-level=1 -fuse-ld=gold -fuse-linker-plugin -pie conftest.c  >&5
/usr/bin/ld.gold: noexecheap: unknown -z option
/usr/bin/ld.gold: use the --help option for usage information
collect2: error: ld returned 1 exit status

Comment 1 Jakub Jelinek 2016-09-08 12:13:16 UTC
If you want to use gold, you should be aware that it isn't 100% compatible with the GNU bfd linker and not even 100% option compatible.

Comment 2 Harald Reindl 2016-09-14 11:09:39 UTC
well, you need gold for lto

BTW: 
https://koji.fedoraproject.org/koji/buildinfo?buildID=796116
would you please start to provide matching libtool-builds so that gcc candidates become installable for willing testers? otherwise you just can stop build newer gcc versions at all

Comment 3 Jonathan Wakely 2016-09-14 11:46:38 UTC
(In reply to Harald Reindl from comment #2)
> well, you need gold for lto

No you don't.

> BTW: 
> https://koji.fedoraproject.org/koji/buildinfo?buildID=796116
> would you please start to provide matching libtool-builds so that gcc
> candidates become installable for willing testers? otherwise you just can
> stop build newer gcc versions at all

That's an overreaction.

Comment 4 Harald Reindl 2016-09-14 11:55:56 UTC
overreaction?

each time i see a gcc build in the last years  i am stupid enough to download all the subpackages to find out again that they are not installable (probably i am on top in context of the amount self-built packages of non-fedora-packages and can fire up a ton of builds which cross-deps by one script call)

gcc-6.2.1-1.fc24 - 2016-09-03

Error: Package: libtool-2.4.6-11.fc24.x86_64 (installed)
           Requires: gcc = 6.1.1
           Removing: gcc-6.1.1-3.fc24.x86_64 (installed)
               gcc = 6.1.1-3.fc24
           Updated By: gcc-6.2.1-1.fc24.x86_64 (/gcc-6.2.1-1.fc24.x86_64)
               gcc = 6.2.1-1.fc24

Comment 5 Jakub Jelinek 2016-09-14 11:57:36 UTC
I'm building new libtool when about to file a new bodhi request.
I don't plan to do it in this case, because some changes broke va_list in C++ and so that needs to be fixed first.

Comment 6 Harald Reindl 2016-09-14 12:00:32 UTC
thanks for the feedback - would have been nice at bodhi https://bodhi.fedoraproject.org/updates/FEDORA-2016-95013ec797

Comment 7 Fedora End Of Life 2017-07-25 22:54:28 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 8 Fedora End Of Life 2017-08-08 17:11:42 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.