compiler-explorer / compiler-explorer/infra

ce-ci builds seem to lack ability to run gcc 1.27

Open
#1,819 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
434
Forks
429
Avg merge
4d 21h
Merged PRs (30d)
38

Description

they fail to run:

```
2025-09-10T13:45:07.6581970Z 2025-09-10 13:45:07,657 lib.cefs.consolidation INFO Running post-consolidation safety checks for group 1
2025-09-10T13:45:12.5029645Z 2025-09-10 13:45:12,502 lib.installation_context DEBUG Executing ['/opt/compiler-explorer/gcc-1.27/bin/gcc', '-v'] in /opt/compiler-explorer
2025-09-10T13:45:12.9643965Z 2025-09-10 13:45:12,964 compilers/c/gcc 1.27 DEBUG File not found for ['gcc-1.27/bin/gcc', '-v']
2025-09-10T13:45:12.9644685Z 2025-09-10 13:45:12,964 lib.cefs.consolidation ERROR Post-consolidation check failed: compilers/c/gcc 1.27 reports not installed
```

works on the admin node OK:

Sep/10 13:58 admin-node~/infra (main|✔) $ /cefs/38/389c688f98ba10ac7e68ed40_consolidated/compilers_c_gcc_1.27/bin/gcc -v
gcc version 1.27

so my guess is we're missing 32-bit support in ce-ci as:

Sep/10 13:58 admin-node~/infra (main|✔) $ ldd /cefs/38/389c688f98ba10ac7e68ed40_consolidated/compilers_c_gcc_1.27/bin/gcc
linux-gate.so.1 (0xec283000)
libc.so.6 => /lib32/libc.so.6 (0xec041000)
/lib32/ld-linux.so.2 => /lib/ld-linux.so.2 (0xec285000)
Sep/10 13:58 admin-node~/infra (main|✔) $

Contributor guide

Open the contributing guide

Research direction

Start with the ce-ci build environment and the post-consolidation safety check shown in the issue, then compare its runtime support with the admin node's ldd output for compilers_c_gcc_1.27/bin/gcc. Done means the ce-ci build can execute GCC 1.27 and the safety check no longer reports it as not installed.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
ci-cd, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.