NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Subject: Re: bin/53465



The following reply was made to PR bin/53465; it has been noted by GNATS.

From: ? ?? <zh_jq%outlook.com@localhost>
To: "gnats-bugs%netbsd.org@localhost" <gnats-bugs%netbsd.org@localhost>
Cc: 
Subject: Subject: Re: bin/53465
Date: Mon, 23 Jul 2018 16:03:54 +0000

 Now I have a simple c file to reproduce the problem:
 ----
 #include <stdio.h>
 
 _Thread_local int a =3D 1;
 
 int main(int argc, char *argv[])
 {
         printf("run ok\n");
         return 0;
 }
 ----
 Use the following to compile:
 gcc -o ld-test -fPIE -pie ../src/_pstatd/ld_test.c
 The run ld-test, you will get the crash.
 
 



Home | Main Index | Thread Index | Old Index