#785728 libace-dev: ACE_OFF_T is only 32bit by the includes, thus preventing the build of JAWS

Package:
libace-dev
Source:
ace
Description:
C++ network programming framework - development files
Submitter:
alex bodnaru
Date:
2015-06-03 17:39:04 UTC
Severity:
important
#785728#5
Date:
2015-05-19 16:06:22 UTC
From:
To:
hello friend,

when trying to build JAWS on i686 32bit,
the size of ACE_OFF_T is 32bit,
as opposed to the size calculated at the build
time of the library, when it is 64bit,
due to your flags in rules:
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
please put these definitions in the relevant
includes, so that users of the library will
also find it at the size the library has.

thanks in advance,
alex

#785728#10
Date:
2015-05-26 19:54:02 UTC
From:
To:
Hello,

Can you please share a snippet example? The severity seems a little bit
too much to me.

Thanks,
Regards,

Thomas

#785728#15
Date:
2015-05-27 13:42:10 UTC
From:
To:

#785728#20
Date:
2015-05-27 14:27:12 UTC
From:
To:
Hello,

If the library uses -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64, then your
application must also use that. You cannot combine code otherwise.

I think the solution requires two actions:


   - Make sure JAWS uses -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 too

   - Add a note about -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 in
   README.Debian

#785728#25
Date:
2015-06-03 17:37:07 UTC
From:
To: