[openbeos] makebootable under Linux broken

  • From: Jan Klötzke <jan.kloetzke@xxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Tue, 8 May 2007 17:21:34 +0200

Hi all,

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...

/Jan

Other related posts: