FS#48384 - [tcc] built programs segfault
Attached to Project:
Community Packages
Opened by Steffen Nurpmeso (sdaoden) - Tuesday, 01 March 2016, 12:32 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 31 March 2016, 11:09 GMT
Opened by Steffen Nurpmeso (sdaoden) - Tuesday, 01 March 2016, 12:32 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 31 March 2016, 11:09 GMT
|
Details
Description:
Oh, i just detected that the tcc package is broken: #include <time.h> # include <errno.h> int main(void){ struct timespec ts; if(!clock_gettime(CLOCK_REALTIME, &ts) || errno != ENOSYS) return 0; return 1; } ?0[sdaoden@wales nail.git]$ tcc -o zt xxx.c ?0[sdaoden@wales nail.git]$ ./zt Segmentation fault (core dumped) ?139[sdaoden@wales nail.git]$ This package lives on my box since over half a year and has been used a thousand times, so i guess it needs a recompilation or similar. gcc and clang can do the same file still fine. Please fix this! Thank you!! Additional info: * package version(s) * config and/or log files etc. ArchLinux up-to-date (except kernel). Steps to reproduce: |
This task depends upon
Closed by Sergej Pupykin (sergej)
Thursday, 31 March 2016, 11:09 GMT
Reason for closing: Fixed
Additional comments about closing: built from mob branch
Thursday, 31 March 2016, 11:09 GMT
Reason for closing: Fixed
Additional comments about closing: built from mob branch
Also package rebuild does not help.
Was nice to have!
Was nice to have!
Issues for tcc itself can be reported here: https://lists.nongnu.org/mailman/listinfo/tinycc-devel
Yay!
I subscribed nonetheless.
Thanks!
Ciao!