GNU bug report logs - #67157
gcc-toolchain@4.8.5 not available on the official substitute servers

Previous Next

Package: guix;

Reported by: Frédéric Mahé <frederic.mahe <at> cirad.fr>

Date: Tue, 14 Nov 2023 07:41:02 UTC

Severity: normal

Done: Greg Hogan <code <at> greghogan.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 67157 in the body.
You can then email your comments to 67157 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#67157; Package guix. (Tue, 14 Nov 2023 07:41:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Frédéric Mahé <frederic.mahe <at> cirad.fr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 14 Nov 2023 07:41:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Frédéric Mahé <frederic.mahe <at> cirad.fr>
To: bug-guix <at> gnu.org
Subject: gcc-toolchain <at> 4.8.5 not available on the official substitute servers
Date: Mon, 13 Nov 2023 20:19:54 +0100
Hi, I am new Guix user.

So far, I've been using Guix to create one-of environments with 
different versions of GCC and clang. My first goal is to compile a C++ 
project with different compiler versions and to check that everything is 
ok. For instance:

guix shell gcc-toolchain <at> 13

It works great, except for GCC 4.8.5 (the oldest version I aim to 
support for my C++ project). That version seems to be the only 
gcc-toolchain version not available on the official substitute servers 
(need to compile/build), and compilation fails on my machine.

Is the absence of a x86-64 GNU Linux GCC 4.8.5 build deliberate? I can 
imagine that this old version is not a priority anymore. Nonetheless, it 
is still very frequent in the wild, at least until the end-of-support of 
CentOS 7 next year.

Thanks for your help,

Here are the command used and the complete log:

guix shell gcc-toolchain <at> 4.8
hint: Consider passing the `--check' option once to make sure your shell 
does not clobber environment variables.

The following derivations will be built:
  /gnu/store/3rh345dldg1r19mx6rwdx5nzskz5ixv4-gcc-toolchain-4.8.5.drv
  /gnu/store/4y2s5l1hhdvxzws1s0gshb5jdf7rl1gr-gcc-4.8.5.drv

building /gnu/store/4y2s5l1hhdvxzws1s0gshb5jdf7rl1gr-gcc-4.8.5.drv...
| 'build' phase?@ build-log 346394 4096
? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_ISLESSEQUAL? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_ISLESSGREATER? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_ISUNORDERED? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_LABS? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_LLABS? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_LONGJMP? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_MALLOC? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_NEXT_ARG? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_PARITY? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_PARITYIMAX? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_PARITYL? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_PARITYLL? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_POPCOUNT? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_POPCOUNTIMAX? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_POPCOUNTL? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_POPCOUNTLL? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_PREFETCH? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_REALLOC? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_RETURN? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_RETURN_ADDRESS? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SAVEREGS? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SETJMP? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_STRFMON? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_STRFTIME? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_TRAP? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_UNREACHABLE? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_UNWIND_INIT? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_UPDATE_SETJMP_BUF? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_VA_COPY? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_VA_END? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_VA_START? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_VA_ARG_PACK? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_VA_ARG_PACK_LEN? not handle@ build-log 346394 4096
d in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN__EXIT? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN__EXIT2? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_INIT_TRAMPOLINE? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_INIT_HEAP_TRAMPOLINE? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_ADJUST_TRAMPOLINE? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_NONLOCAL_GOTO? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SETJMP_SETUP? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SETJMP_DISPATCHER? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SETJMP_RECEIVER? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_STACK_SAVE? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_STACK_RESTORE? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_ALLOCA_WITH_ALIGN? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_OBJECT_SIZE? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_MEMCPY_CHK? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_MEMMOVE_CHK? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_MEMPCPY_CHK? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_MEMSET_CHK? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_STPCPY_CHK? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_STPNCPY_CHK? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_STRCAT_CHK? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_STRCPY_CHK? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_STRNCAT_CHK? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_STRNCPY_CHK? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SNPRINTF_CHK? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SPRINTF_CHK? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_VSNPRINTF_CHK? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_VSPRINTF_CHK? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_FPRINTF_CHK? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_PRINTF_CHK? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_VFPRINTF_CHK? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_VPRINTF_CHK? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_PROFILE_FUNC_ENTER? not handled in switch [-Wswitch]
../../g@ build-log 346394 4096
cc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_PROFILE_FUNC_EXIT? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_THREAD_POINTER? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SET_THREAD_POINTER? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_EMUTLS_GET_ADDRESS? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_EMUTLS_REGISTER_COMMON? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_UNWIND_RESUME? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_CXA_END_CLEANUP? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_EH_POINTER? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_EH_FILTER? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_EH_COPY_VALUES? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_FILE? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_FUNCTION? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_LINE? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_ADD_N? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_ADD_1? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_ADD_2? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_ADD_4? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_ADD_8? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_ADD_16? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_SUB_N? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_SUB_1? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_SUB_2? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_SUB_4? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_SUB_8? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_SUB_16? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_OR_N? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_OR_1? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_OR_2? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_OR_4? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_OR_8? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_OR_16? not handled in switch [-Wswitch]
../../gcc-4.8.5@ build-log 346394 4096
/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_AND_N? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_AND_1? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_AND_2? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_AND_4? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_AND_8? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_AND_16? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_XOR_N? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_XOR_1? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_XOR_2? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_XOR_4? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_XOR_8? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_XOR_16? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_NAND_N? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_NAND_1? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_NAND_2? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_NAND_4? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_NAND_8? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_FETCH_AND_NAND_16? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_ADD_AND_FETCH_N? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_ADD_AND_FETCH_1? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_ADD_AND_FETCH_2? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_ADD_AND_FETCH_4? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_ADD_AND_FETCH_8? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_ADD_AND_FETCH_16? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_SUB_AND_FETCH_N? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_SUB_AND_FETCH_1? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_SUB_AND_FETCH_2? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_SUB_AND_FETCH_4? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_SUB_AND_FETCH_8? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_SUB_AND_FETCH_16? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: en@ build-log 346394 4096
umeration value ?BUILT_IN_SYNC_OR_AND_FETCH_N? not handled in switch 
[-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_OR_AND_FETCH_1? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_OR_AND_FETCH_2? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_OR_AND_FETCH_4? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_OR_AND_FETCH_8? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_OR_AND_FETCH_16? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_AND_AND_FETCH_N? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_AND_AND_FETCH_1? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_AND_AND_FETCH_2? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_AND_AND_FETCH_4? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_AND_AND_FETCH_8? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_AND_AND_FETCH_16? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_XOR_AND_FETCH_N? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_XOR_AND_FETCH_1? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_XOR_AND_FETCH_2? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_XOR_AND_FETCH_4? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_XOR_AND_FETCH_8? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_XOR_AND_FETCH_16? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_NAND_AND_FETCH_N? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_NAND_AND_FETCH_1? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_NAND_AND_FETCH_2? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_NAND_AND_FETCH_4? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_NAND_AND_FETCH_8? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_NAND_AND_FETCH_16? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_VAL_COMPARE_AND_SWAP_N? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_VAL_COMPARE_AND_SWAP_1? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_VAL_COMPARE_AND_SWAP_2? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_VAL_COMPARE_AND_SWAP_4? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_VAL_COMPARE_AND_SWAP_8? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_VAL_COMPARE_AND_SWAP_16? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: e@ build-log 346394 3928
numeration value ?BUILT_IN_SYNC_LOCK_TEST_AND_SET_N? not handled in 
switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_LOCK_TEST_AND_SET_1? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_LOCK_TEST_AND_SET_2? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_LOCK_TEST_AND_SET_4? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_LOCK_TEST_AND_SET_8? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_LOCK_TEST_AND_SET_16? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_LOCK_RELEASE_N? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_LOCK_RELEASE_1? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_LOCK_RELEASE_2? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_LOCK_RELEASE_4? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_LOCK_RELEASE_8? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_LOCK_RELEASE_16? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_SYNC_SYNCHRONIZE? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_ATOMIC_TEST_AND_SET? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_ATOMIC_CLEAR? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_ATOMIC_EXCHANGE? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_ATOMIC_EXCHANGE_N? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_ATOMIC_EXCHANGE_1? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_ATOMIC_EXCHANGE_2? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_ATOMIC_EXCHANGE_4? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_ATOMIC_EXCHANGE_8? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_ATOMIC_EXCHANGE_16? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_ATOMIC_LOAD? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_ATOMIC_LOAD_N? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_ATOMIC_LOAD_1? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_ATOMIC_LOAD_2? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_ATOMIC_LOAD_4? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_ATOMIC_LOAD_8? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_ATOMIC_LOAD_16? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_ATOMIC_STORE? not handled in switch [-Wswitch]
\ 'build' phase??@ build-log 346394 2892
??BUILT_IN_GOMP_CRITICAL_NAME_END? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_GOMP_LOOP_STATIC_START? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_GOMP_LOOP_DYNAMIC_START? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_GOMP_LOOP_GUIDED_START? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_GOMP_LOOP_RUNTIME_START? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_GOMP_LOOP_ORDERED_STATIC_START? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_GOMP_LOOP_ORDERED_DYNAMIC_START? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_GOMP_LOOP_ORDERED_GUIDED_START? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_GOMP_LOOP_ORDERED_RUNTIME_START? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_GOMP_LOOP_STATIC_NEXT? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_GOMP_LOOP_DYNAMIC_NEXT? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_GOMP_LOOP_GUIDED_NEXT? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_GOMP_LOOP_RUNTIME_NEXT? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_GOMP_LOOP_ORDERED_STATIC_NEXT? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_GOMP_LOOP_ORDERED_DYNAMIC_NEXT? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_GOMP_LOOP_ORDERED_GUIDED_NEXT? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_GOMP_LOOP_ORDERED_RUNTIME_NEXT? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_GOMP_LOOP_ULL_STATIC_START? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_GOMP_LOOP_ULL_DYNAMIC_START? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_GOMP_LOOP_ULL_GUIDED_START? not handled in switch [-Wswitch]
../../gcc-4.8.5/gcc/predict.c:1788:20: warning: enumeration value 
?BUILT_IN_GOMP_LOOP_ULL_RUNTIME_START? not handled in switch [-Wswitch]
- 'build' phasebuilder for 
`/gnu/store/4y2s5l1hhdvxzws1s0gshb5jdf7rl1gr-gcc-4.8.5.drv' failed with 
exit code 1
build of /gnu/store/4y2s5l1hhdvxzws1s0gshb5jdf7rl1gr-gcc-4.8.5.drv failed
View build log at 
'/var/log/guix/drvs/4y/2s5l1hhdvxzws1s0gshb5jdf7rl1gr-gcc-4.8.5.drv.gz'.
cannot build derivation 
`/gnu/store/3rh345dldg1r19mx6rwdx5nzskz5ixv4-gcc-toolchain-4.8.5.drv': 1 
dependencies couldn't be built
guix shell: error: build of 
`/gnu/store/3rh345dldg1r19mx6rwdx5nzskz5ixv4-gcc-toolchain-4.8.5.drv' failed



-- 
Frédéric Mahé
bâtiment K, bureau 122
équipe MicroQuar
UMR PHIM
CIRAD - TA A-120/K
Campus International de Baillarguet
34398 MONTPELLIER CEDEX 5
France

Tél : +33 4 99 62 48 27
Fax : +33 4 99 62 48 48
https://umr-phim.cirad.fr/




Information forwarded to bug-guix <at> gnu.org:
bug#67157; Package guix. (Thu, 16 Nov 2023 10:26:02 GMT) Full text and rfc822 format available.

Message #8 received at 67157 <at> debbugs.gnu.org (full text, mbox):

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Frédéric Mahé <frederic.mahe <at> cirad.fr>,
 67157 <at> debbugs.gnu.org
Subject: Re: bug#67157: gcc-toolchain <at> 4.8.5 not available on the official
 substitute servers
Date: Thu, 16 Nov 2023 11:25:18 +0100
Hi,

Thanks for the report.

On Mon, 13 Nov 2023 at 20:19, Frédéric Mahé <frederic.mahe <at> cirad.fr> wrote:

> Is the absence of a x86-64 GNU Linux GCC 4.8.5 build deliberate? I can 
> imagine that this old version is not a priority anymore. Nonetheless, it 
> is still very frequent in the wild, at least until the end-of-support of 
> CentOS 7 next year.

No, it is not deliberate, sadly.  Well, I have tried to find a past
revision when gcc-toolchain <at> 4.8.5 builds but I fail.

The Guix Data Service shows that gcc-toolchain <at> 4.8.5 is not available
for the build farm named Bordeaux.  And the substitutes are also missing
on the other build farm named Berlin.

Well, my guess is the issue is related to an update of GCC.  Therefore,
I am trying this commit:

        27322ac30be6816eca33ee946a04d3b0ab32896f
        CommitDate: Thu Sep 8 21:40:00 2022 +0200

which is right before the update to GCC 11 as default.

  guix time-machine --commit=27322ac30be6816eca33ee946a04d3b0ab32896f \
       -- build gcc-toolchain <at> 4.8.5 --no-grafts

Wait and see…

Cheers,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#67157; Package guix. (Fri, 19 Jan 2024 08:40:03 GMT) Full text and rfc822 format available.

Message #11 received at 67157 <at> debbugs.gnu.org (full text, mbox):

From: Thomas Schwinge <thomas <at> schwinge.name>
To: Simon Tournier <zimon.toutoune <at> gmail.com>,
 Frédéric Mahé <frederic.mahe <at> cirad.fr>,
 67157 <at> debbugs.gnu.org
Cc: Ricardo Wurmus <rekado <at> elephly.net>
Subject: Re: bug#67157: gcc-toolchain <at> 4.8.5 not available on the official
 substitute servers
Date: Thu, 18 Jan 2024 20:39:16 +0100
I ran into the same issue.

On 2023-11-16T11:25:18+0100, Simon Tournier <zimon.toutoune <at> gmail.com> wrote:
> On Mon, 13 Nov 2023 at 20:19, Frédéric Mahé <frederic.mahe <at> cirad.fr> wrote:
>> Is the absence of a x86-64 GNU Linux GCC 4.8.5 build deliberate?

> No, it is not deliberate, sadly.  Well, I have tried to find a past
> revision when gcc-toolchain <at> 4.8.5 builds but I fail.
>
> The Guix Data Service shows that gcc-toolchain <at> 4.8.5 is not available
> for the build farm named Bordeaux.  And the substitutes are also missing
> on the other build farm named Berlin.
>
> Well, my guess is the issue is related to an update of GCC.  Therefore,
> I am trying this commit:
>
>         27322ac30be6816eca33ee946a04d3b0ab32896f
>         CommitDate: Thu Sep 8 21:40:00 2022 +0200
>
> which is right before the update to GCC 11 as default.
>
>   guix time-machine --commit=27322ac30be6816eca33ee946a04d3b0ab32896f \
>        -- build gcc-toolchain <at> 4.8.5 --no-grafts
>
> Wait and see…

I tried this, but after quite a long time, it failed, too.  :-|

    In file included from ../../gcc-4.8.5/gcc/cp/except.c:1008:
    cfns.gperf: At global scope:
    cfns.gperf:101:1: error: ‘const char* libc_name_p(const char*, unsigned int)’ redeclared inline with ‘gnu_inline’ attribute
    cfns.gperf:26:14: note: ‘const char* libc_name_p(const char*, unsigned int)’ previously declared here

If I'm understanding things right, Ricardo actually has addressed this
issue in commit e6994d7e3f3f4a69f984c9e67df27abe1bc07c1c
"gnu: gcc-arm-none-eabi-4.9: Fix incompatible redeclaration"
('gnu/packages/patches/gcc-4.9-inline.patch'), and similarly a number of
years earlier in commit db90eb8c2bd447ab53bed80e5b0ea5105a928cdf
"gnu: Add propeller-gcc-4" -- both not applied to the GCC 4.8 sources
we're trying to build here.  Anyway, putting Ricardo in CC, in case
you've got any input to this one here, too?  :-)

The latter commit's 'gnu/packages/patches/gcc-4.6-gnu-inline.patch'
indicates that "the 3.0.3 release of gperf" may be when this started, so
I'll try to invoke the time-machine for older than that, as a first
(hopefully simple) try.




Information forwarded to bug-guix <at> gnu.org:
bug#67157; Package guix. (Fri, 19 Jan 2024 08:40:03 GMT) Full text and rfc822 format available.

Message #14 received at 67157 <at> debbugs.gnu.org (full text, mbox):

From: Thomas Schwinge <thomas <at> schwinge.name>
To: Simon Tournier <zimon.toutoune <at> gmail.com>,
 Frédéric Mahé <frederic.mahe <at> cirad.fr>,
 67157 <at> debbugs.gnu.org
Cc: Ricardo Wurmus <rekado <at> elephly.net>,
 Christopher Howard <christopher <at> librehacker.com>,
 Thiago Jung Bauermann <bauermann <at> kolabnow.com>,
 Janneke Nieuwenhuizen <janneke <at> gnu.org>
Subject: Re: bug#67157: gcc-toolchain <at> 4.8.5 not available on the official
 substitute servers
Date: Thu, 18 Jan 2024 21:03:10 +0100
On 2024-01-18T20:39:16+0100, I wrote:
>     In file included from ../../gcc-4.8.5/gcc/cp/except.c:1008:
>     cfns.gperf: At global scope:
>     cfns.gperf:101:1: error: ‘const char* libc_name_p(const char*, unsigned int)’ redeclared inline with ‘gnu_inline’ attribute
>     cfns.gperf:26:14: note: ‘const char* libc_name_p(const char*, unsigned int)’ previously declared here
>
> If I'm understanding things right, Ricardo actually has addressed this
> issue in commit e6994d7e3f3f4a69f984c9e67df27abe1bc07c1c
> "gnu: gcc-arm-none-eabi-4.9: Fix incompatible redeclaration"
> ('gnu/packages/patches/gcc-4.9-inline.patch'), and similarly a number of
> years earlier in commit db90eb8c2bd447ab53bed80e5b0ea5105a928cdf
> "gnu: Add propeller-gcc-4" -- both not applied to the GCC 4.8 sources
> we're trying to build here.  Anyway, putting Ricardo in CC, in case
> you've got any input to this one here, too?  :-)

Actually, also years-old commit 625492ee1a5a8e515b97d4b76734584c1b420243
"gnu: gcc-4.7: Resurrect building with gcc-5.4.0" (Janneke CCed), and
also discussed in <https://issues.guix.gnu.org/49935>
"gcc-4.8 fails to build with recent GCC versions" (Thiago CCed), and
<https://issues.guix.gnu.org/40758>
"build failure: gcc-4.8.5 (gcc-toolchain-4.8.5)" (Christopher CCed), for
example.

In <https://gcc.gnu.org/PR80734>
"GCC 6.3.1 errors compiling GCC 4.8.5 - error: ‘const char* libc_name_p(const char*, unsigned int)’ redeclared inline with ‘gnu_inline’ attribute",
or <https://gcc.gnu.org/PR69959> "gcc-6 doesn't build gcc-5 anymore",
for example, Jakub suggested building with '-std=gnu++98' as another
option.  (Maybe that can be achieved by using a build GCC where this is
implicit?)

I suppose more instances of this issue can be found if searching more
thoroughly.  ;-)

> The latter commit's 'gnu/packages/patches/gcc-4.6-gnu-inline.patch'
> indicates that "the 3.0.3 release of gperf" may be when this started, so
> I'll try to invoke the time-machine for older than that, as a first
> (hopefully simple) try.




Reply sent to Greg Hogan <code <at> greghogan.com>:
You have taken responsibility. (Thu, 24 Apr 2025 14:09:03 GMT) Full text and rfc822 format available.

Notification sent to Frédéric Mahé <frederic.mahe <at> cirad.fr>:
bug acknowledged by developer. (Thu, 24 Apr 2025 14:09:04 GMT) Full text and rfc822 format available.

Message #19 received at 67157-done <at> debbugs.gnu.org (full text, mbox):

From: Greg Hogan <code <at> greghogan.com>
To: 49935-done <at> debbugs.gnu.org, 67157-done <at> debbugs.gnu.org
Subject: Re: bug#49935: gcc-4.8 fails to build with recent GCC versions
Date: Thu, 24 Apr 2025 10:07:44 -0400
On Fri, Jan 19, 2024 at 12:19 PM Thomas Schwinge <thomas <at> schwinge.name> wrote:
>
> On 2021-08-07T20:07:32-0300, Thiago Jung Bauermann via Bug reports for GNU Guix <bug-guix <at> gnu.org> wrote:
> > In file included from /tmp/guix-build-gcc-4.8.5.drv-0/build/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/cstdlib:72:0,
> >                  from ../../../../gcc-4.8.5/libstdc++-v3/libsupc++/del_op.cc:38:
> > /gnu/store/358n1m2c8fbn6nr1mib4racjh7wfqfmy-gcc-10.3.0/include/c++/stdlib.h:38:12: error: ‘std::abort’ has not been declared
> >  using std::abort;
> >             ^
> > /gnu/store/358n1m2c8fbn6nr1mib4racjh7wfqfmy-gcc-10.3.0/include/c++/stdlib.h:39:12: error: ‘std::atexit’ has not been declared
> >  using std::atexit;
> >             ^
> > [...]
>
> This looks similar to <https://issues.guix.gnu.org/41209>
> "AVR toolchain fails to build", fixed by
> commit fd96ae4a709c5509f2d78af3968d64fe805ad1ef
> "gnu: avr-gcc: Fix conflicting GCC headers", or
> <https://issues.guix.gnu.org/41210>
> "gcc-cross-sans-libc-arm-none-eabi-4.9.4-1.227977 fails to build", fixed
> by commit 7f6d3f395023ff430cf8b7a981d4780698e9d132
> "gnu: gcc-arm-none-eabi: Fix conflicting GCC headers".

Closing both reports as gcc-4.8.5 is currently building and substitutable:
 https://ci.guix.gnu.org/build/3409224/details




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 23 May 2025 11:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 14 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.