Re: [PATCH, libstdc++] Fix detection of posix_memalig for cross-builds

2016-11-30 Thread Christophe Lyon
On 1 December 2016 at 01:18, Bernd Edlinger wrote: > On 12/01/16 00:10, Jonathan Wakely wrote: >> On 30/11/16 23:06 +0100, Christophe Lyon wrote: >>> On 30 November 2016 at 22:51, Jonathan Wakely wrote: On 30/11/16 22:32 +0100, Christophe Lyon wrote: > > On 30 November 2016 at 20:00,

Re: [PATCH, libstdc++] Fix detection of posix_memalig for cross-builds

2016-11-30 Thread Bernd Edlinger
On 12/01/16 00:10, Jonathan Wakely wrote: > On 30/11/16 23:06 +0100, Christophe Lyon wrote: >> On 30 November 2016 at 22:51, Jonathan Wakely wrote: >>> On 30/11/16 22:32 +0100, Christophe Lyon wrote: On 30 November 2016 at 20:00, Bernd Edlinger wrote: > > Hi, > >>>

Re: [PATCH, libstdc++] Fix detection of posix_memalig for cross-builds

2016-11-30 Thread Jonathan Wakely
On 30/11/16 23:06 +0100, Christophe Lyon wrote: On 30 November 2016 at 22:51, Jonathan Wakely wrote: On 30/11/16 22:32 +0100, Christophe Lyon wrote: On 30 November 2016 at 20:00, Bernd Edlinger wrote: Hi, I noticed that a cross-compiler produces an unusable libstdc++.so that contains an u

Re: [PATCH, libstdc++] Fix detection of posix_memalig for cross-builds

2016-11-30 Thread Christophe Lyon
On 30 November 2016 at 22:51, Jonathan Wakely wrote: > On 30/11/16 22:32 +0100, Christophe Lyon wrote: >> >> On 30 November 2016 at 20:00, Bernd Edlinger >> wrote: >>> >>> Hi, >>> >>> I noticed that a cross-compiler produces an unusable libstdc++.so >>> that contains an unresolved reference to al

Re: [PATCH, libstdc++] Fix detection of posix_memalig for cross-builds

2016-11-30 Thread Jonathan Wakely
On 30/11/16 22:32 +0100, Christophe Lyon wrote: On 30 November 2016 at 20:00, Bernd Edlinger wrote: Hi, I noticed that a cross-compiler produces an unusable libstdc++.so that contains an unresolved reference to aligned_alloc instead of posix_memalign, or whatever is actually available. Theref

Re: [PATCH, libstdc++] Fix detection of posix_memalig for cross-builds

2016-11-30 Thread Christophe Lyon
On 30 November 2016 at 20:00, Bernd Edlinger wrote: > Hi, > > I noticed that a cross-compiler produces an unusable libstdc++.so > that contains an unresolved reference to aligned_alloc instead of > posix_memalign, or whatever is actually available. > > Therefore it is impossible to link any C++ pr

Re: [PATCH, libstdc++] Fix detection of posix_memalig for cross-builds

2016-11-30 Thread Jonathan Wakely
On 30/11/16 19:00 +, Bernd Edlinger wrote: Hi, I noticed that a cross-compiler produces an unusable libstdc++.so that contains an unresolved reference to aligned_alloc instead of posix_memalign, or whatever is actually available. Therefore it is impossible to link any C++ programs against t

[PATCH, libstdc++] Fix detection of posix_memalig for cross-builds

2016-11-30 Thread Bernd Edlinger
Hi, I noticed that a cross-compiler produces an unusable libstdc++.so that contains an unresolved reference to aligned_alloc instead of posix_memalign, or whatever is actually available. Therefore it is impossible to link any C++ programs against the libstdc++.so that comes with the cross-compile