Summary: | net-vpn/openvpn-2.4.7-r1[static] : configure: error: $CHOST-gcc: error: unrecognized command line option '-Xcompiler'; did you mean '--compile'? | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rolf Eike Beer <eike> |
Component: | Current packages | Assignee: | Patrick McLean <chutzpah> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | slyfox, williamh |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 700656 | ||
Attachments: |
build.log
config.log |
Description
Rolf Eike Beer
![]() Created attachment 601570 [details]
config.log
src_configure() { use static && append-ldflags -Xcompiler -static I wonder what compiler accepts "-Xcompiler ..." Libtool does understand -Xcompiler for pass-though mode. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=663f2319190529eb02b5ed6f058639e123af96d8 commit 663f2319190529eb02b5ed6f058639e123af96d8 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-03-02 14:38:26 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-03-02 14:38:26 +0000 net-vpn/openvpn: drop broken USE=static flag, bug #704100 '-Xcompiler -static' is understood by libtool, but not gcc directly. That makes 'append-ldflags -Xcompiler -static' call always fail ./configure as: ``` configure: error: C compiler cannot create executables See `config.log' for more details ``` Reported-by: Rolf Eike Beer Closes: https://bugs.gentoo.org/704100 Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> net-vpn/openvpn/openvpn-2.4.6-r1.ebuild | 6 ++---- net-vpn/openvpn/openvpn-2.4.6.ebuild | 6 ++---- net-vpn/openvpn/openvpn-2.4.7-r1.ebuild | 6 ++---- net-vpn/openvpn/openvpn-9999.ebuild | 6 ++---- 4 files changed, 8 insertions(+), 16 deletions(-) |