Re: [systemd-devel] systemd-196/196 fails to build with x32 Abi support

2013-01-22 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 23, 2013 at 04:49:00AM +0100, Lennart Poettering wrote: > On Wed, 23.01.13 04:08, Kay Sievers (k...@vrfy.org) wrote: > > > >> Not sure what the best way is to detect an architecture where time_t is > > >> "long long" rather than "long". I figure there must be some macro we > > >> could

Re: [systemd-devel] systemd-196/196 fails to build with x32 Abi support

2013-01-22 Thread Lennart Poettering
On Wed, 23.01.13 04:08, Kay Sievers (k...@vrfy.org) wrote: > >> Not sure what the best way is to detect an architecture where time_t is > >> "long long" rather than "long". I figure there must be some macro we > >> could check for. If we have that, the code can be changed to: > >> > >> #ifdef MACR

Re: [systemd-devel] systemd-196/196 fails to build with x32 Abi support

2013-01-22 Thread Kay Sievers
On Fri, Jan 18, 2013 at 11:11 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Fri, Jan 18, 2013 at 07:34:29PM +0100, Lennart Poettering wrote: >> On Fri, 18.01.13 18:22, Stephan Raue (mailingli...@openelec.tv) wrote: >> >> > >> > Am 18.01.2013 18:14, schrieb Colin Walters: >> > >On Fri, 2013-01-18 at

Re: [systemd-devel] systemd-196/196 fails to build with x32 Abi support

2013-01-18 Thread Cristian Rodríguez
El 18/01/13 15:34, Lennart Poettering escribió: #ifdef MACRO_TO_CHECK In this case #if defined __x86_64__ && defined __ILP32__ ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-d

Re: [systemd-devel] systemd-196/196 fails to build with x32 Abi support

2013-01-18 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jan 18, 2013 at 07:34:29PM +0100, Lennart Poettering wrote: > On Fri, 18.01.13 18:22, Stephan Raue (mailingli...@openelec.tv) wrote: > > > > > Am 18.01.2013 18:14, schrieb Colin Walters: > > >On Fri, 2013-01-18 at 16:14 +0100, Stephan Raue wrote: > > > > > >>src/core/manager.c: In functio

Re: [systemd-devel] systemd-196/196 fails to build with x32 Abi support

2013-01-18 Thread Lennart Poettering
On Fri, 18.01.13 18:22, Stephan Raue (mailingli...@openelec.tv) wrote: > > Am 18.01.2013 18:14, schrieb Colin Walters: > >On Fri, 2013-01-18 at 16:14 +0100, Stephan Raue wrote: > > > >>src/core/manager.c: In function 'manager_setup_time_change': > >>src/core/manager.c:160:14: error: static assert

Re: [systemd-devel] systemd-196/196 fails to build with x32 Abi support

2013-01-18 Thread Stephan Raue
Am 18.01.2013 18:14, schrieb Colin Walters: On Fri, 2013-01-18 at 16:14 +0100, Stephan Raue wrote: src/core/manager.c: In function 'manager_setup_time_change': src/core/manager.c:160:14: error: static assertion failed: "sizeof(time_t) == sizeof(long)" assert_cc(sizeof(time_t) == size

Re: [systemd-devel] systemd-196/196 fails to build with x32 Abi support

2013-01-18 Thread Colin Walters
On Fri, 2013-01-18 at 16:14 +0100, Stephan Raue wrote: > src/core/manager.c: In function 'manager_setup_time_change': > src/core/manager.c:160:14: error: static assertion failed: > "sizeof(time_t) == sizeof(long)" > assert_cc(sizeof(time_t) == sizeof(long)); >^ You'll h

[systemd-devel] systemd-196/196 fails to build with x32 Abi support

2013-01-18 Thread Stephan Raue
Hi, i try to port my distro to x32 abi. compiling systemd-197 fails with /bin/sh ./libtool --tag=CC --mode=compile /home/stephan/projects/openelec-next/build.OpenELEC-ARCTIC_MC.x86_64-devel/toolchain/bin/x86_64-openelec-linux-gnux32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -include ./config.h -