Re: Configure fails on 32-bit platform

2018-02-11 Thread Jeffrey Walton
On Sun, Feb 11, 2018 at 4:40 PM, Niels Möller wrote: > Jeffrey Walton writes: > >> But please see -m32 -march=native, which was provided to configure to >> configure with. > > Setting CFLAGS simply specifies what flags to be passed to the C > compiler, totally overriding configure's automatic sel

Re: Configure fails on 32-bit platform

2018-02-11 Thread Niels Möller
Jeffrey Walton writes: > > > If there are C compiler options that must be used for proper > compilation of certain files, do not include them in CFLAGS. Users > expect to be able to specify CFLAGS freely themselves. This is getting silly. ./configure gets conflicting options. Adding its own opt

Re: repl-vsnprintf.c:396:0: error: ISO C forbids an empty translation unit

2018-02-11 Thread Vincent Lefevre
On 2018-02-11 10:40:55 +0100, Torbjorn Granlund wrote: > Dennis Clarke writes: > > repl-vsnprintf.c:396:0: error: ISO C forbids an empty translation unit > > Our nightly builds get a few of those too, as warnings. I've decided I > can live with those as no platform seems to actually dislike t

Re: Configure fails on 32-bit platform

2018-02-11 Thread Niels Möller
Jeffrey Walton writes: > But please see -m32 -march=native, which was provided to configure to > configure with. Setting CFLAGS simply specifies what flags to be passed to the C compiler, totally overriding configure's automatic selection of compiler flags. But CFLAGS is *not* interpreted by con

Re: Configure fails on 32-bit platform

2018-02-11 Thread Jeffrey Walton
On Sun, Feb 11, 2018 at 4:52 AM, Torbjörn Granlund wrote: > Jeffrey Walton writes: > > Configure seems to be misdetecting this 32-bit platform. The machine > is CentOS 6, i686 . > > The environment is: > > PKG_CONFIG+PATH: /usr/local/lib/pkgconfig >CPPFLAGS: -I/usr/local/inclu

Re: Configure fails on 32-bit platform

2018-02-11 Thread Torbjörn Granlund
Jeffrey Walton writes: Configure seems to be misdetecting this 32-bit platform. The machine is CentOS 6, i686 . The environment is: PKG_CONFIG+PATH: /usr/local/lib/pkgconfig CPPFLAGS: -I/usr/local/include -DNDEBUG CFLAGS: -g2 -O2 -m32 -march=native -fPIC C

Configure fails on 32-bit platform

2018-02-11 Thread Jeffrey Walton
Hi Everyone, Configure seems to be misdetecting this 32-bit platform. The machine is CentOS 6, i686 . The environment is: PKG_CONFIG+PATH: /usr/local/lib/pkgconfig CPPFLAGS: -I/usr/local/include -DNDEBUG CFLAGS: -g2 -O2 -m32 -march=native -fPIC CXXFLAGS: -g2 -O2 -m32 -march=

Re: repl-vsnprintf.c:396:0: error: ISO C forbids an empty translation unit

2018-02-11 Thread Torbjörn Granlund
Dennis Clarke writes: repl-vsnprintf.c:396:0: error: ISO C forbids an empty translation unit Our nightly builds get a few of those too, as warnings. I've decided I can live with those as no platform seems to actually dislike the resulting object files. -- Torbjörn Please encrypt, key id