[PATCH] Disable year 2038 support on 32-bit hosts by default

Alan Modra amodra@gmail.com
Wed Aug 10 08:38:41 GMT 2022


On Tue, Aug 09, 2022 at 10:02:16AM -0700, Paul Eggert wrote:
> Hmm, likely that CXX was wrong and I should have used g++ not gcc. However,
> switching to g++ doesn't work either; when I configure it this way:
> 
> ../binutils-gdb/configure CC='gcc -m32' CXX='g++ -m32'

I regularly build bleeding edge binutils on an x86_64-linux Ubuntu
22.04 box with 32-bit libraries installed using:

CC="gcc -m32" CXX="g++ -m32" \
~/src/binutils-gdb/configure --build=i686-linux --enable-targets=all \
--enable-gold --enable-threads \
--disable-gdb --disable-gdbserver --disable-sim --disable-readline \
--disable-libdecnumber --disable-libbacktrace --disable-gprofng --disable-nls

I'm not sure now why I had --build there rather than --target,
probably something to do with getting more "make check" tests run.

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list