------- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca 2006-01-24 02:12 ------- Subject: Re: FAIL: libgomp.c/appendix-a/a.15.1.c (test for excess errors)
> I bet -lrt has to be linked in as sem_* are part of the real time extensions > of > POSIX. I believe that you would win that bet: -bash-2.05b$ nm librt.2|less Symbols from librt.2: [Index] Value Size Type Bind O Shndx Name ... [98] | 4611686018427395792| 100|FUNC |GLOB |0| .text|sem_close [119] | 4611686018427395280| 164|FUNC |GLOB |0| .text|sem_destroy [60] | 4611686018427396688| 160|FUNC |GLOB |0| .text|sem_getvalue [88] | 4611686018427395072| 208|FUNC |GLOB |0| .text|sem_init [96] | 4611686018427395464| 308|FUNC |GLOB |0| .text|sem_open [102] | 4611686018427396512| 172|FUNC |GLOB |0| .text|sem_post [72] | 4611686018427396208| 300|FUNC |GLOB |0| .text|sem_trywait [67] | 4611686018427395896| 132|FUNC |GLOB |0| .text|sem_unlink [109] | 4611686018427396032| 172|FUNC |GLOB |0| .text|sem_wait Dave -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25936