Re: -z defs linker flag activated in Fedora rawhide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 26, 2018 at 08:45:28AM +0000, Richard W.M. Jones wrote:
> On Mon, Jan 22, 2018 at 04:24:31PM +0100, Florian Weimer wrote:
> >     %undefine _strict_symbol_defs_build
> 
> I tried this to unbreak the linker, but it completely breaks gcc:
> 
>   configure: error: C compiler cannot create executables
> 
> https://koji.fedoraproject.org/koji/taskinfo?taskID=24460823

This scratch build dumps out the config.log file after the
failure so there's more information:

  https://koji.fedoraproject.org/koji/taskinfo?taskID=24461751

I'm not sure if this is the same or different error though:

  configure:5617: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection  -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld conftest.c  >&5
  annobin: conftest.c: Error: plugin built for compiler version (7.3.1) but run with compiler version (7.2.1)
  cc1: error: fail to initialize plugin /usr/lib/gcc/x86_64-redhat-linux/7/plugin/annobin.so

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux