Source: trn4 Version: 4.0-test77-17 Severity: serious Tags: ftbfs Justification: fails to build from source (but built successfully in the past)
Hi,
trn4 started to FTBFS when GCC 14 was made the default compiler:
Checking your choice of C compiler and flags for coherency...
I've tried to compile and run the following simple program:
I used the command:
gcc -O -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-Werror=implicit-function-declaration
-ffile-prefix-map=/build/trn4-4.0-test77=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall
-DINET6 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -fpcc-struct-return -o try
-Wl,-z,relro try.c -lresolv
./try
and I got the following output:
try.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
3 | main() { printf("Ok\n"); exit(0); }
| ^~~~
I can't compile the test program.
You have a BIG problem. Shall I abort Configure [y]
Ok. Stopping Configure.
Andreas
trn4_4.0-test77-17.log.gz
Description: application/gzip

