RE: Hardened builds

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

 



Hello:

> I've got a package that is currently failing to build in Rawhide.  It
> has a home-brewed garbage collector inside, and it appears the GC is
> confused about which objects are on the stack, and which are on the
> heap.  I want to try building without the hardening flags to see if
> that has something to do with the problem.  According to
> https://fedorahosted.org/fesco/ticket/1384 the way to do this is to
> put:
> 
> %global _hardened_build 0
> 
> at the top of the spec file.  But that doesn't work with a local mock
> build.  I still see -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 in
> the compiler flags and -specs=/usr/lib/rpm/redhat/redhat-hardened-ld
> in the linker flags.  

Does
%undefine _hardened_build
help?

Regards,
Mamoru


-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[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