compiler-explorer / compiler-explorer/compiler-explorer

[BUG] TenDRA binary support missing

Open
#2,146 2 comments 0 reactions 0 assignees View on GitHub
lang-c Status: triaged waiting
Dominant language
TypeScript
Stars
19.1k
Forks
2.1k
Avg merge
3d 15h
Merged PRs (30d)
67

Description

**Describe the bug**
TenDRA can generate assembly, but we're missing some exact paths on our instances.
They are I think installed by `libc6-dev:i386`
```
dpkg -S /usr/lib/i386-linux-gnu/crt1.o
libc6-dev:i386: /usr/lib/i386-linux-gnu/crt1.o
```
and we only have `libc6-dev-i386` installed (https://github.com/compiler-explorer/infra/blob/master/setup.sh#L41).

**Error message**
```

x86 tendra (trunk) - cached
/usr/bin/ld: cannot find /usr/lib/i386-linux-gnu/crt1.o: No such file or directory

/usr/bin/ld: cannot find /usr/lib/i386-linux-gnu/crti.o: No such file or directory

Compiler returned: 1
```

**Additional context**
Binary support is currently disabled for TenDRA to not show these errors.

Contributor guide

Open the contributing guide

Research direction

Inspect the linked infra repository's setup.sh around line 41 and compare the installed i386 development package with the paths required by TenDRA. Verify that the crt1.o and crti.o paths become available, then check the compiler configuration that currently disables TenDRA binary support and confirm compilation succeeds without the linker errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, shell
Domain
infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.