unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#67157: gcc-toolchain@4.8.5 not available on the official substitute servers
@ 2023-11-13 19:19 Frédéric Mahé
  2023-11-16 10:25 ` Simon Tournier
  0 siblings, 1 reply; 4+ messages in thread
From: Frédéric Mahé @ 2023-11-13 19:19 UTC (permalink / raw)
  To: 67157

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@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@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/




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#67157: gcc-toolchain@4.8.5 not available on the official substitute servers
  2023-11-13 19:19 bug#67157: gcc-toolchain@4.8.5 not available on the official substitute servers Frédéric Mahé
@ 2023-11-16 10:25 ` Simon Tournier
  2024-01-18 19:39   ` Thomas Schwinge
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Tournier @ 2023-11-16 10:25 UTC (permalink / raw)
  To: Frédéric Mahé, 67157

Hi,

Thanks for the report.

On Mon, 13 Nov 2023 at 20:19, Frédéric Mahé <frederic.mahe@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@4.8.5 builds but I fail.

The Guix Data Service shows that gcc-toolchain@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@4.8.5 --no-grafts

Wait and see…

Cheers,
simon




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#67157: gcc-toolchain@4.8.5 not available on the official substitute servers
  2023-11-16 10:25 ` Simon Tournier
@ 2024-01-18 19:39   ` Thomas Schwinge
  2024-01-18 20:03     ` Thomas Schwinge
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Schwinge @ 2024-01-18 19:39 UTC (permalink / raw)
  To: Simon Tournier, Frédéric Mahé, 67157; +Cc: Ricardo Wurmus

I ran into the same issue.

On 2023-11-16T11:25:18+0100, Simon Tournier <zimon.toutoune@gmail.com> wrote:
> On Mon, 13 Nov 2023 at 20:19, Frédéric Mahé <frederic.mahe@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@4.8.5 builds but I fail.
>
> The Guix Data Service shows that gcc-toolchain@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@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.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#67157: gcc-toolchain@4.8.5 not available on the official substitute servers
  2024-01-18 19:39   ` Thomas Schwinge
@ 2024-01-18 20:03     ` Thomas Schwinge
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Schwinge @ 2024-01-18 20:03 UTC (permalink / raw)
  To: Simon Tournier, Frédéric Mahé, 67157
  Cc: Ricardo Wurmus, Christopher Howard, Thiago Jung Bauermann,
	Janneke Nieuwenhuizen

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.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-19 17:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-13 19:19 bug#67157: gcc-toolchain@4.8.5 not available on the official substitute servers Frédéric Mahé
2023-11-16 10:25 ` Simon Tournier
2024-01-18 19:39   ` Thomas Schwinge
2024-01-18 20:03     ` Thomas Schwinge

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).