Public bug reported:

Binary package hint: clang

I'm using an Ubuntu Maverick chroot to try clang 2.8, and it can't
compile anything. Something seems to go terribly wrong when clang tries
to invoke itself. (the `"" -cc1` should be `clang -cc1`)

Exact steps:

$ sudo debootstrap --arch=i386 maverick maverick32/
$ sudo chroot maverick32
# echo "deb http://archive.ubuntu.com/ubuntu maverick main universe" > 
/etc/apt/sources.list
# apt-get update && apt-get install clang
# echo "int main (int argc, char **argv) { return 0; }" > test.cpp
# clang++ -v test.cpp -o test
clang version 2.8 (branches/release_28)
Target: i386-pc-linux-gnu
Thread model: posix
 "" -cc1 -triple i386-pc-linux-gnu -S -disable-free -disable-llvm-verifier 
-main-file-name test.cpp -mrelocation-model static -mdisable-fp-elim 
-mconstructor-aliases -target-cpu pentium4 -target-linker-version 2.20.51 -v 
-resource-dir /lib/clang/2.8 -ferror-limit 19 -fmessage-length 80 -fexceptions 
-fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-5cvn8H.s 
-x c++ test.cpp
error: clang frontend command failed with exit code 127 (use -v to see 
invocation)

** Affects: clang (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/742896

Title:
  can't compile anything in maverick chroot (invalid driver invocation?)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to