Koji build adds extra cflags [was: Re: [ANNOUNCE] kexec-tools 2.0.10]

Dave Young dyoung at redhat.com
Wed Jul 1 02:07:39 UTC 2015


Change the subject a bit..

On 07/01/15 at 08:36am, Dave Young wrote:
> Pratyush,
> 
> Thanks for the effort, let's cc Fedora devel list, see if we can get help
> from Fedora experts.
> 
> Summary the problem:
> Latest kexec-tools koji build in rawhide results in a wrong kexec binary,
> kexec load fails with something like below:
> R_X86_64_29
> Unhandled rela relocation: R_X86_64_29 
> 
> This kinds of errors usually caused by gcc unnecesarrily add options like
> -fexception, -fPIC, -fstack-protetor-* for building kexec purgatory which
> runs in kernel mode.
> 
> I filed a bug below:
> https://bugzilla.redhat.com/show_bug.cgi?id=1236456
> 
> Appreciate for any hints how to fix the problem.
> 
> On 06/30/15 at 04:05pm, Pratyush Anand wrote:
> > Hi Dave,
> > 
> > Really not able to get whats the issue..let koji people look into..
> > 
> >         kexec-tools-2.0.7-11.fc23.x86_64.rpm build failed
> >         http://koji.fedoraproject.org/koji/taskinfo?taskID=10249484
> > 
> >         kexec-tools-2.0.9-1.fc23.x86_64.rpm does not work
> >         http://koji.fedoraproject.org/koji/taskinfo?taskID=10249201
> > 
> >         kexec-tools-2.0.8-12.fc23.x86_64.rpm does not work
> >         http://koji.fedoraproject.org/koji/taskinfo?taskID=10249377
> > 
> > - so may be its not kexec-tools version issue
> > 
> >         kexec-tools-2.0.7-26.el7.x86_64.rpm work
> >         https://brewweb.devel.redhat.com/taskinfo?taskID=9439045
> > 
> > The only difference which I noticed between working brew and not
> > working koji is that koji introduces
> > "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" into gcc command
> > line.
> > 
> > However, I tried -fno-enforce-eh-specs
> > (http://koji.fedoraproject.org/koji/taskinfo?taskID=10250889), but it
> > did not work :(
> > 
> > Only thing remaining is to try 2.0.9/8 in brew..will try that too.
> > 
> > ~Pratyush
> > 
> -- 
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct


More information about the devel mailing list