compiler-explorer icon indicating copy to clipboard operation
compiler-explorer copied to clipboard

[BUG]: Clang <= 3.3 execution support is broken

Open Alcaro opened this issue 3 years ago • 2 comments

Describe the bug

/..//bin/ld: cannot find crtbegin.o: No such file or directory
/..//bin/ld: cannot find -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Looks like some paths are broken.

Steps to reproduce

  • int main(){}
  • Create an executor, or enable execution on a normal compiler panel
  • Set compiler to Clang 3.3, or switch to C and try to use Clang <= 3.2

Expected behavior

Fix em, disable em, or both

Reproduction link

https://godbolt.org/z/hK75fqPWe (C++) / https://godbolt.org/z/8j3jz7h3z (C)

Screenshots

Not applicable

Operating System

No response

Browser version

No response

Alcaro avatar Mar 14 '22 13:03 Alcaro

Fixed in C++ mode.

Still broken in C mode.

Alcaro avatar Jul 07 '24 00:07 Alcaro

Worth noting that assertion builds of Clang are working, too.

Endilll avatar Jul 07 '24 08:07 Endilll