port only builds with build_arch=i386 on command line -- any way to specify that in the portfile?

Brandon Allbery allbery.b at gmail.com
Mon Sep 5 18:42:40 PDT 2016


On Mon, Sep 5, 2016 at 9:26 PM, Fred Wright <fw at fwright.net> wrote:

> Interesting, given that the Linux kernel *requires* optimization to build
> correctly, due to some issue with macros vs. inline functions.  Of course
> that's gcc, not clang, and it doesn't necessarily rule out -Os.
>

Yes. And I was talking about gcc there. Thing about the Linux kernel is
that it finds more optimizer bugs than pretty much any other code (and gets
priority response from gcc devs) --- but even so, kernel code only
exercises a limited portion of code gen, and other portions don't get
debugged very well as a result. Also, while I've not kept track in recent
years, tweaking kernel code to avoid known code gen / optimization bugs was
very often a thing from the beginning through the kernel 2.x series.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20160905/8dd8b049/attachment.html>


More information about the macports-dev mailing list