[Bug 2029910] Re: libtsan0 (10.5.0-1ubuntu1~20.04) missing libtsan_preinit.o

Clément Peron 2029910 at bugs.launchpad.net
Sun Sep 3 13:58:32 UTC 2023


@doko I tested with libgcc-9-dev but It doesn't fix the issue :(

Dockerfile

```
from ubuntu:20.04

RUN apt update && apt install -y gcc libgcc-9-dev

RUN echo "int main(){}" | gcc -fsanitize=thread -x c -
```

$> docker build .

 > [3/3] RUN echo "int main(){}" | gcc -fsanitize=thread -x c -:
0.205 /usr/bin/ld: cannot find libtsan_preinit.o: No such file or directory
0.205 collect2: error: ld returned 1 exit status

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

Title:
  libtsan0 (10.5.0-1ubuntu1~20.04) missing libtsan_preinit.o

Status in gcc-10 package in Ubuntu:
  Confirmed
Status in gcc-10 source package in Focal:
  Confirmed

Bug description:
  When running sudo apt-get install libtsan0, the file libtsan_preinit.o
  which is supposed to be installed is not installed.

  I had to compile it from gcc source code and add it manually.

  I am running unfortunately running Pop!
  But the same issue happens on my friends Ubuntu.
  And it has been re-created on several Docker images of Ubuntu 20.04.

  $ lsb_release -rd
  Description:	Pop!_OS 20.04 LTS
  Release:	20.04

  $ apt-cache policy libtsan0
  libtsan0:
    Installed: 10.5.0-1ubuntu1~20.04
    Candidate: 10.5.0-1ubuntu1~20.04
    Version table:
   *** 10.5.0-1ubuntu1~20.04 500
          500 http://us.archive.ubuntu.com/ubuntu focal-security/main amd64 Packages
          500 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       10-20200411-0ubuntu1 500
          500 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages

  Let me know if you need any more info or if this is sufficient to re-
  create the issue.

  Best regards,
  A

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-10/+bug/2029910/+subscriptions




More information about the foundations-bugs mailing list