• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 11, 17, 21, 24, 25
    • infrastructure
    • None
    • b16
    • generic
    • linux

      Below commands shows that there is an extra a.out file after execute the configure command with llvm/clang compiler sometimes, not always:

      > rm -rf a.out ; date ; bash configure --with-toolchain-type=clang --with-debug-level=fastdebug --with-toolchain-path=/home/yansendao/software/acc/x86_64/bin &> configure-clang.log ; stat a.out ; ls -lh a.out ; file a.out
      Thu Mar 20 02:42:08 PM CST 2025
        File: a.out
        Size: 792 Blocks: 8 IO Block: 4096 regular file
      Device: 10303h/66307d Inode: 2355309 Links: 1
      Access: (0640/-rw-r-----) Uid: ( 995/yansendao) Gid: ( 992/yansendao)
      Access: 2025-03-20 14:42:11.776368672 +0800
      Modify: 2025-03-20 14:42:11.776368672 +0800
      Change: 2025-03-20 14:42:11.776368672 +0800
       Birth: 2025-03-20 14:42:11.768368421 +0800
      -rw-r----- 1 yansendao yansendao 792 Mar 20 14:42 a.out
      a.out: data


      The a.out was generate by `$LINKER -Wl,-v 2>&1 | $HEAD -n 1`, shows as below:

      > rm -rf a.out ; date ; ~/software/acc/x86_64/bin/clang -Wl,-v 2>&1 | head -n 1 ; stat a.out ; ls -lh a.out ; file a.out
      Thu Mar 20 02:46:13 PM CST 2025
      GNU ld (GNU Binutils) 2.43.50.20240909
        File: a.out
        Size: 792 Blocks: 8 IO Block: 4096 regular file
      Device: 10303h/66307d Inode: 2355308 Links: 1
      Access: (0640/-rw-r-----) Uid: ( 995/yansendao) Gid: ( 992/yansendao)
      Access: 2025-03-20 14:46:13.682967228 +0800
      Modify: 2025-03-20 14:46:13.682967228 +0800
      Change: 2025-03-20 14:46:13.682967228 +0800
       Birth: 2025-03-20 14:46:13.674966977 +0800
      -rw-r----- 1 yansendao yansendao 792 Mar 20 14:46 a.out
      a.out: data

            syan Sendao Yan
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: