Opened 9 years ago
Last modified 6 years ago
#47747 closed defect
autogen @5.18.4_0 Build failure - __noreturn__ — at Initial Version
Reported by: | smiler2505@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | ||
Port: | autogen |
Description
Build fails with noreturn undeclared:
:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I.. -I../autoopts -I/opt/local/include -D_THREAD_SAFE -I/opt/local/include/guile/2.0 -I/opt/local/include -pipe -Os -arch x86_64 -MT autogen-ag.o -MD -MP -MF .deps/autogen-ag.Tpo -c -o autogen-ag.o test -f 'ag.c' || echo './'
ag.c
:info:build In file included from ag.c:7:
:info:build In file included from ./autogen.h:60:
:info:build In file included from /opt/local/include/guile/2.0/libguile.h:37:
:info:build In file included from /opt/local/include/guile/2.0/libguile/async.h:28:
:info:build In file included from /opt/local/include/guile/2.0/libguile/threads.h:36:
:info:build In file included from /opt/local/include/guile/2.0/libguile/pthread-threads.h:29:
:info:build /usr/include/pthread.h:311:32: error: use of undeclared identifier 'noreturn'
:info:build void pthread_exit(void *) dead2;
:info:build
:info:build /usr/include/sys/cdefs.h:135:33: note: expanded from macro 'dead2'
:info:build #define dead2 attribute((noreturn))
:info:build
:info:build ../autoopts/stdnoreturn.h:53:19: note: expanded from macro 'noreturn'
:info:build # define noreturn _Noreturn
:info:build
:info:build ../autoopts/stdnoreturn.h:34:37: note: expanded from macro '_Noreturn'
:info:build # define _Noreturn attribute ((noreturn))
:info:build
:info:build 1 error generated.
Log