Some more info:

I went through the whole libstdc++ build process before coming up with my 
patch. IIRC, some configure tests are not executed when cross-compiling, 
which results in something like __USE_LARGEFILE64 and friends (or similar, 
I don't remember the details) not being set up correctly.

It's true that the native build does not define _GLIBCXX_USE_LFS. ISTR 
the reason I chose it was that with it, all the "dependent" defines like 
__USE_LARGEFILE64 were set up by the libstdc++ header files.

Unfortunately, it's been a while and I will have to go through the build 
process again to find an alternative solution.

Cheers,

  Richard

-- 
  __   _
  |_) /|  Richard Atterer
  | \/¯|  http://geht.net.gibts.bei.atterer.net
  ¯ '` ¯

Reply via email to