Re: [systemd-devel] build problems without largefile support

2013-06-06 Thread Cristian Rodríguez
El 06/06/13 04:39, Lennart Poettering escribió: On Thu, 06.06.13 10:10, Lennart Poettering (lenn...@poettering.net) wrote: The constants for T/P/E don't fit in a 23bit off_t. That's why largefile was introduced in the first place. I'm not sure how to fix this. Maybe just use 'ifdef' and not sup

Re: [systemd-devel] build problems without largefile support

2013-06-06 Thread Lennart Poettering
On Thu, 06.06.13 10:10, Lennart Poettering (lenn...@poettering.net) wrote: > > The constants for T/P/E don't fit in a 23bit off_t. That's why largefile > > was introduced in the first place. > > I'm not sure how to fix this. Maybe just use 'ifdef' and not support those > > formats? > > Humm, so i

Re: [systemd-devel] build problems without largefile support

2013-06-06 Thread Lennart Poettering
On Thu, 16.05.13 08:49, Michael Olbrich (m.olbr...@pengutronix.de) wrote: > Hi, > > I tried to compile systemd with "--disable-largefile" and I got this: > [...] > src/shared/util.c: In function 'parse_bytes': > src/shared/util.c:2270:17: error: overflow in implicit constant conversion > [-Werro

Re: [systemd-devel] build problems without largefile support

2013-05-18 Thread David Strauss
On Wed, May 15, 2013 at 11:49 PM, Michael Olbrich wrote: > The constants for T/P/E don't fit in a 23bit off_t. That's why largefile > was introduced in the first place. > I'm not sure how to fix this. Maybe just use 'ifdef' and not support those > formats? That sounds reasonable to me. The lack o

[systemd-devel] build problems without largefile support

2013-05-15 Thread Michael Olbrich
Hi, I tried to compile systemd with "--disable-largefile" and I got this: [...] src/shared/util.c: In function 'parse_bytes': src/shared/util.c:2270:17: error: overflow in implicit constant conversion [-Werror=overflow] src/shared/util.c:2271:17: error: overflow in implicit constant conversion [