Re: svn commit: r249484 - head/lib

2013-04-19 Thread Dimitry Andric
On Apr 19, 2013, at 06:50, Tim Kientzle wrote: > On Apr 17, 2013, at 10:33 AM, Dimitry Andric wrote: > >> 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 ini

Re: svn commit: r249484 - head/lib

2013-04-19 Thread Tim Kientzle
On Apr 17, 2013, at 10:33 AM, Dimitry Andric wrote: > 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. FreeBSD/ARM just switched f

Re: svn commit: r249484 - head/lib

2013-04-17 Thread Tijl Coosemans
On 2013-04-17 19:33, Dimitry Andric wrote: > On Apr 17, 2013, at 17:58, Tim Kientzle wrote: >> On Apr 17, 2013, at 5:05 AM, Tijl Coosemans wrote: >>> So you compile with -ffreestanding -nostdinc? >>> And then add the include path returned by -print-file-name=include? >> >> That's what the U-Boot s

Re: svn commit: r249484 - head/lib

2013-04-17 Thread Dimitry Andric
On Apr 17, 2013, at 17:58, Tim Kientzle wrote: > On Apr 17, 2013, at 5:05 AM, Tijl Coosemans wrote: ... >> So you compile with -ffreestanding -nostdinc? >> And then add the include path returned by -print-file-name=include? > > That's what the U-Boot sources do, yes. Why would U-Boot want to bui

Re: svn commit: r249484 - head/lib

2013-04-17 Thread Tim Kientzle
On Apr 17, 2013, at 5:05 AM, Tijl Coosemans wrote: > On 2013-04-17 08:26, Tim Kientzle wrote: >> On Apr 16, 2013, at 11:06 PM, Juli Mallett wrote: >>> On Tue, Apr 16, 2013 at 11:00 PM, Tim Kientzle wrote: On Apr 16, 2013, at 6:41 AM, Tijl Coosemans wrote: > On 2013-04-14 21:13, Tim Kient

Re: svn commit: r249484 - head/lib

2013-04-17 Thread John Baldwin
On Wednesday, April 17, 2013 8:05:31 am Tijl Coosemans wrote: > In the lang/clang port files/patch-tools_clang_lib_Headers_Makefile > should be removed I think. It prevents too many useful headers from > being installed (e.g. avxintrin.h) I have a local patch to that that I've sent to brooks@ prev

Re: svn commit: r249484 - head/lib

2013-04-17 Thread Tijl Coosemans
On 2013-04-17 08:26, Tim Kientzle wrote: > On Apr 16, 2013, at 11:06 PM, Juli Mallett wrote: >> On Tue, Apr 16, 2013 at 11:00 PM, Tim Kientzle wrote: >>> On Apr 16, 2013, at 6:41 AM, Tijl Coosemans wrote: On 2013-04-14 21:13, Tim Kientzle wrote: > Modified: head/lib/Makefile >

Re: svn commit: r249484 - head/lib

2013-04-17 Thread Juli Mallett
On Tue, Apr 16, 2013 at 11:26 PM, Tim Kientzle wrote: > > On Apr 16, 2013, at 11:06 PM, Juli Mallett wrote: >> If you're doing a freestanding compile...shouldn't you also be >> specifying both include and library paths explicitly? > > Yes, of course. But the correct directories to use vary somewh

Re: svn commit: r249484 - head/lib

2013-04-16 Thread Tim Kientzle
On Apr 16, 2013, at 11:06 PM, Juli Mallett wrote: > On Tue, Apr 16, 2013 at 11:00 PM, Tim Kientzle wrote: >> >> On Apr 16, 2013, at 6:41 AM, Tijl Coosemans wrote: >> >>> On 2013-04-14 21:13, Tim Kientzle wrote: Author: kientzle Date: Sun Apr 14 19:13:51 2013 New Revision: 249484

Re: svn commit: r249484 - head/lib

2013-04-16 Thread Juli Mallett
On Tue, Apr 16, 2013 at 11:00 PM, Tim Kientzle wrote: > > On Apr 16, 2013, at 6:41 AM, Tijl Coosemans wrote: > >> On 2013-04-14 21:13, Tim Kientzle wrote: >>> Author: kientzle >>> Date: Sun Apr 14 19:13:51 2013 >>> New Revision: 249484 >>> URL: http://svnweb.freebsd.org/changeset/base/249484 >>> >

Re: svn commit: r249484 - head/lib

2013-04-16 Thread Tim Kientzle
On Apr 16, 2013, at 6:41 AM, Tijl Coosemans wrote: > On 2013-04-14 21:13, Tim Kientzle wrote: >> Author: kientzle >> Date: Sun Apr 14 19:13:51 2013 >> New Revision: 249484 >> URL: http://svnweb.freebsd.org/changeset/base/249484 >> >> Log: >> Install a symlink >>/usr/lib/include ==> /usr/inc

Re: svn commit: r249484 - head/lib

2013-04-16 Thread Tijl Coosemans
On 2013-04-14 21:13, Tim Kientzle wrote: > Author: kientzle > Date: Sun Apr 14 19:13:51 2013 > New Revision: 249484 > URL: http://svnweb.freebsd.org/changeset/base/249484 > > Log: > Install a symlink > /usr/lib/include ==> /usr/include > > This fixes -print-file-name=include in clang (a

Re: svn commit: r249484 - head/lib

2013-04-15 Thread Peter Jeremy
On Sun, Apr 14, 2013 at 07:13:52PM +, Tim Kientzle wrote: > Install a symlink > /usr/lib/include ==> /usr/include April 1st was several weeks ago. > This fixes -print-file-name=include in clang (and is > arguably a better way to fix the same issue in GCC than > the change I mad

Re: svn commit: r249484 - head/lib

2013-04-15 Thread Gennady Proskurin
Here is the quote from r231336 commit message: === commit be984b719cbcb225dc4afaf9f52b38fb882a09d3 Author: kientzle Date: Fri Feb 10 05:05:42 2012 + Implement -print-file-name=include (which is undocumented but used by some Linux boot loaders). This option prints out the direct