On Sat, 2020-12-26 at 12:10 +0100, Sylvestre Ledru wrote:
> Could you please try to generate it into a regular file?

Well, if I change argument of `-o` parameter, the error is the same.

   (chrooted)builder@barberry:/$ rm -f /tmp/a.out; touch /tmp/a.out
   (chrooted)builder@barberry:/$ clang++-11 -v /tmp/main.cpp -o /tmp/a.out
   Debian clang version 11.0.0-5+b1
   Target: s390x-ibm-linux-gnu
   Thread model: posix
   InstalledDir: /usr/bin
   Found candidate GCC installation: /usr/bin/../lib/gcc/s390x-linux-gnu/10
   Found candidate GCC installation: /usr/bin/../lib/gcc/s390x-linux-gnu/8
   Found candidate GCC installation: /usr/bin/../lib/gcc/s390x-linux-gnu/9
   Found candidate GCC installation: /usr/lib/gcc/s390x-linux-gnu/10
   Found candidate GCC installation: /usr/lib/gcc/s390x-linux-gnu/8
   Found candidate GCC installation: /usr/lib/gcc/s390x-linux-gnu/9
   Selected GCC installation: /usr/bin/../lib/gcc/s390x-linux-gnu/10
   Candidate multilib: .;@m64
   Selected multilib: .;@m64
    "/usr/bin/ld" --hash-style=both --build-id --eh-frame-hdr -m elf64_s390 
-dynamic-linker /lib/ld64.so.1 -o /tmp/a.out 
/usr/bin/../lib/gcc/s390x-linux-gnu/10/../../../s390x-linux-gnu/crt1.o 
/usr/bin/../lib/gcc/s390x-linux-gnu/10/../../../s390x-linux-gnu/crti.o 
/usr/bin/../lib/gcc/s390x-linux-gnu/10/crtbegin.o 
-L/usr/bin/../lib/gcc/s390x-linux-gnu/10 
-L/usr/bin/../lib/gcc/s390x-linux-gnu/10/../../../s390x-linux-gnu 
-L/lib/s390x-linux-gnu -L/usr/lib/s390x-linux-gnu 
-L/usr/bin/../lib/gcc/s390x-linux-gnu/10/../../.. -L/usr/lib/llvm-11/bin/../lib 
-L/lib -L/usr/lib /tmp/main.cpp -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc 
/usr/bin/../lib/gcc/s390x-linux-gnu/10/crtend.o 
/usr/bin/../lib/gcc/s390x-linux-gnu/10/../../../s390x-linux-gnu/crtn.o
   /usr/bin/ld:/tmp/main.cpp: file format not recognized; treating as linker 
script
   /usr/bin/ld:/tmp/main.cpp:1: syntax error
   clang: error: linker command failed with exit code 1 (use -v to see 
invocation)

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to