Re: Fwd: Re: [PATCH]. Fix HAVE_SYS_SDT_H for cross-compilation

2013-09-05 Thread Christian Bruel
On 08/30/2013 05:50 PM, Joseph S. Myers wrote: > On Fri, 30 Aug 2013, Christian Bruel wrote: > >> So to cross build a target library | >> --with-build-sysroot=|dir looks appropriate to specify the alternative >> host root path. >> but >> --with-sysroot looks not appropriate because it changes the

Re: Fwd: Re: [PATCH]. Fix HAVE_SYS_SDT_H for cross-compilation

2013-08-30 Thread Joseph S. Myers
On Fri, 30 Aug 2013, Christian Bruel wrote: > So to cross build a target library | > --with-build-sysroot=|dir looks appropriate to specify the alternative > host root path. > but > --with-sysroot looks not appropriate because it changes the search paths > (that should still be /usr/include on the

Fwd: Re: [PATCH]. Fix HAVE_SYS_SDT_H for cross-compilation

2013-08-30 Thread Christian Bruel
(resent plain text, sorry) A documentation comment on the proposed patch. The issue occurred while building the target libgcc using the cross-gcc, while cross-building a target-gcc ../../../../libgcc/unwind-dw2.c:42:21: fatal error: sys/sdt.h: No such file or directory indeed, auto-host.h had

Re: [PATCH]. Fix HAVE_SYS_SDT_H for cross-compilation

2013-08-29 Thread Christian Bruel
Hello Bill and Jakub On 08/22/2013 07:47 PM, Jakub Jelinek wrote: > On Thu, Aug 22, 2013 at 09:39:48AM -0500, Bill Schmidt wrote: >> Hi Christian and Jakub, >> >> I'm curious whether there was ever any resolution for: >> http://gcc.gnu.org/ml/gcc-patches/2012-12/msg01124.html. > Sorry for not hav

Re: [PATCH]. Fix HAVE_SYS_SDT_H for cross-compilation

2013-08-22 Thread Bill Schmidt
On Thu, 2013-08-22 at 19:47 +0200, Jakub Jelinek wrote: > On Thu, Aug 22, 2013 at 09:39:48AM -0500, Bill Schmidt wrote: > > Hi Christian and Jakub, > > > > I'm curious whether there was ever any resolution for: > > http://gcc.gnu.org/ml/gcc-patches/2012-12/msg01124.html. > > The last mail I remem

Re: [PATCH]. Fix HAVE_SYS_SDT_H for cross-compilation

2013-08-22 Thread Jakub Jelinek
On Thu, Aug 22, 2013 at 09:39:48AM -0500, Bill Schmidt wrote: > Hi Christian and Jakub, > > I'm curious whether there was ever any resolution for: > http://gcc.gnu.org/ml/gcc-patches/2012-12/msg01124.html. The last mail I remember didn't make any sense: #include "tconfig.h" that includes it: #i

Re: [PATCH]. Fix HAVE_SYS_SDT_H for cross-compilation

2013-08-22 Thread Bill Schmidt
Hi Christian and Jakub, I'm curious whether there was ever any resolution for: http://gcc.gnu.org/ml/gcc-patches/2012-12/msg01124.html. We've encountered what appears to be the same issue internally when building a cross for powerpc64le-linux-gnu: /scratch/tmp/anton/toolchain/build/src/gcc/libgc

Re: [PATCH]. Fix HAVE_SYS_SDT_H for cross-compilation

2012-12-18 Thread Christian Bruel
On 12/18/2012 03:47 PM, Jakub Jelinek wrote: > On Tue, Dec 18, 2012 at 03:41:58PM +0100, Christian Bruel wrote: >> Canadian Cross Builds fail to build libgcc/unwind-dw2.c >> >> ... >> ../../../../libgcc/unwind-dw2.c:42:21: fatal error: sys/sdt.h: No such >> file or directory >> ... >> >> when the

Re: [PATCH]. Fix HAVE_SYS_SDT_H for cross-compilation

2012-12-18 Thread Jakub Jelinek
On Tue, Dec 18, 2012 at 03:41:58PM +0100, Christian Bruel wrote: > Canadian Cross Builds fail to build libgcc/unwind-dw2.c > > ... > ../../../../libgcc/unwind-dw2.c:42:21: fatal error: sys/sdt.h: No such > file or directory > ... > > when the build machine has sys/sdt.h installed (systemtap-sdt-d

[PATCH]. Fix HAVE_SYS_SDT_H for cross-compilation

2012-12-18 Thread Christian Bruel
Hello, Canadian Cross Builds fail to build libgcc/unwind-dw2.c ... ../../../../libgcc/unwind-dw2.c:42:21: fatal error: sys/sdt.h: No such file or directory ... when the build machine has sys/sdt.h installed (systemtap-sdt-devel), but not the target's, because of this: #ifdef HAVE_SYS_SDT_H #inc