Date: Fri, 19 Apr 2013 17:57:11 +0200 From: Dimitry Andric <dim@freebsd.org> To: Tim Kientzle <kientzle@freebsd.org> Cc: Ed Schouten <ed@80386.nl>, src-committers@freebsd.org, Juli Mallett <jmallett@freebsd.org>, svn-src-all@freebsd.org, Brooks Davis <brooks@freebsd.org>, svn-src-head@freebsd.org, Tijl Coosemans <tijl@freebsd.org> Subject: Re: svn commit: r249484 - head/lib Message-ID: <E1348EF7-D478-4E39-B180-7C6982F8BDF9@freebsd.org> In-Reply-To: <647B67E8-152A-47A8-89E4-E15075D20992@freebsd.org> References: <201304141913.r3EJDqPI095965@svn.freebsd.org> <516D54F5.4010501@FreeBSD.org> <2A0FC59F-E043-4B4E-BABE-E16C6A1FBF5C@freebsd.org> <CACVs6=9QA_wiittSR2HGcOFaDj4VASgLHOimEGWyEcSt8UdBjA@mail.gmail.com> <475555FA-DF6A-42FA-990D-4224ECAEAE52@FreeBSD.org> <516E900B.9090300@FreeBSD.org> <BE32E940-D519-4B0B-B33F-8A8F33388EA9@freebsd.org> <1FEABB1B-ADDE-412A-9D40-F9FB2822B654@freebsd.org> <647B67E8-152A-47A8-89E4-E15075D20992@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Apr 19, 2013, at 06:50, Tim Kientzle <kientzle@freebsd.org> wrote: > On Apr 17, 2013, at 10:33 AM, Dimitry Andric wrote: >=20 >> In any case, the layout has been like this since the initial clangbsd >> import, and I never saw any reason to change it. Maybe Ed can tell a >> bit more, since he seems to have done the initial infrastructure = setup. >=20 > FreeBSD/ARM just switched from GCC to Clang, which is > why this just got noticed. U-Boot is used quite heavily for > FreeBSD/ARM (and MIPS and PowerPC as well, I believe). >=20 > Here are the options I see for getting > cc -print-file-name=3Dinclude > to work again: >=20 > * Hack clang to handle -print-file-name=3Dinclude specially. > I did this for GCC already, but I'm not thrilled about it. >=20 > * Configure clang differently so that this option works. >=20 > * Symlink /usr/include to appear somewhere that clang expects. >=20 > * Rearrange our directory layout slightly to match clang's = expectations. You seem to have left out the most obvious one: * Fixing U-Boot's configuration script(s) so they don't depend on = undocumented compiler options. I don't understand why we would want to go through all this trouble, = just for telling U-Boot where a bunch of headers are located? What = happened to configure scripts with options, they did not disappear = overnight, I hope?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1348EF7-D478-4E39-B180-7C6982F8BDF9>