[openbeos] Re: makebootable under Linux broken

  • From: Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Wed, 09 May 2007 11:52:08 +0200

On 2007-05-08 at 17:21:34 [+0200], Jan Klötzke <jan.kloetzke@xxxxxxxxxx> 
wrote:
> 
> I started to evaluate Haiku recently but since last weekend makebootable was
> not working under Linux anymore. It always fails with some weird error
> messages.
> 
> After some investigation I found that commit 21012 broke the build. In
> "build/jam/BuildSetup" the value of "HOST_DEFINES" was changed from
> "_LARGEFILE_SOURCE _LARGEFILE64_SOURCE _FILE_OFFSET_BITS=64" to
> "_GNU_SOURCE". Unfortunately this changes the width of type "off_t" from 64
> bits to 32 bits but makebootable relies on 64 bit width.
> 
> With "HOST_DEFINES" set to "_GNU_SOURCE _FILE_OFFSET_BITS=64" all is working
> again...

Thanks. Weird actually how different Linux platforms differ in this respect.

CU, Ingo

Other related posts: