public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "ngmlinux at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug boehm-gc/23662] Binaries generated by arm-linux-gcj segfault on execution on arm target Date: Sun, 04 Sep 2005 00:14:00 -0000 [thread overview] Message-ID: <20050904001445.30901.qmail@sourceware.org> (raw) In-Reply-To: <20050831205412.23662.ngmlinux@gmail.com> ------- Additional Comments From ngmlinux at gmail dot com 2005-09-04 00:14 ------- After patching the gcc-4.0.1 source in boehm-gc/include/private/gcconfig.h, I get the following errors when I go to "make". I did not get this errors before editing gcconfig.h, however they appear to be unrelated: ===code============================================ In file included from ./gthr-default.h:1, from ../../gcc/gthr.h:114, from ../../gcc/unwind-dw2.c:42: ../../gcc/gthr-posix.h:43:21: error: pthread.h: No such file or directory ../../gcc/gthr-posix.h:44:20: error: unistd.h: No such file or directory In file included from ./gthr-default.h:1, from ../../gcc/gthr.h:114, from ../../gcc/unwind-dw2.c:42: ../../gcc/gthr-posix.h:46: error: syntax error before '__gthread_key_t' ../../gcc/gthr-posix.h:46: warning: type defaults to 'int' in declaration of '__gthread_key_t' ../../gcc/gthr-posix.h:46: warning: data definition has no type or storage class../../gcc/gthr-posix.h:47: error: syntax error before '__gthread_once_t' ../../gcc/gthr-posix.h:47: warning: type defaults to 'int' in declaration of '__gthread_once_t' ../../gcc/gthr-posix.h:47: warning: data definition has no type or storage class../../gcc/gthr-posix.h:48: error: syntax error before '__gthread_mutex_t' ../../gcc/gthr-posix.h:48: warning: type defaults to 'int' in declaration of '__gthread_mutex_t' ../../gcc/gthr-posix.h:48: warning: data definition has no type or storage class../../gcc/gthr-posix.h:49: error: syntax error before '__gthread_recursive_mutex_t' ../../gcc/gthr-posix.h:49: warning: type defaults to 'int' in declaration of '__gthread_recursive_mutex_t' ../../gcc/gthr-posix.h:49: warning: data definition has no type or storage class../../gcc/gthr-posix.h: In function '__gthread_active_p': ../../gcc/gthr-posix.h:110: error: 'pthread_cancel' undeclared (first use in this function) ../../gcc/gthr-posix.h:110: error: (Each undeclared identifier is reported only once ../../gcc/gthr-posix.h:110: error: for each function it appears in.) ../../gcc/gthr-posix.h: At top level: ../../gcc/gthr-posix.h:474: error: syntax error before '*' token ../../gcc/gthr-posix.h:474: error: syntax error before ')' token ../../gcc/gthr-posix.h:483: error: syntax error before '*' token ../../gcc/gthr-posix.h:483: error: syntax error before ')' token ../../gcc/gthr-posix.h:489: error: syntax error before 'key' ../../gcc/gthr-posix.h:490: warning: function declaration isn't a prototype ../../gcc/gthr-posix.h: In function '__gthread_key_delete': ../../gcc/gthr-posix.h:490: warning: old-style function definition ../../gcc/gthr-posix.h:491: warning: implicit declaration of function 'pthread_key_delete' ../../gcc/gthr-posix.h:491: error: 'key' undeclared (first use in this function)../../gcc/gthr-posix.h: At top level: ../../gcc/gthr-posix.h:495: error: syntax error before 'key' ../../gcc/gthr-posix.h:496: warning: function declaration isn't a prototype ../../gcc/gthr-posix.h: In function '__gthread_getspecific': ../../gcc/gthr-posix.h:496: warning: old-style function definition ../../gcc/gthr-posix.h:497: warning: implicit declaration of function 'pthread_getspecific' ../../gcc/gthr-posix.h:497: error: 'key' undeclared (first use in this function)../../gcc/gthr-posix.h:497: warning: return makes pointer from integer without a cast ../../gcc/gthr-posix.h: At top level: ../../gcc/gthr-posix.h:501: error: syntax error before 'key' ../../gcc/gthr-posix.h:502: warning: function declaration isn't a prototype ../../gcc/gthr-posix.h: In function '__gthread_setspecific': ../../gcc/gthr-posix.h:502: warning: old-style function definition ../../gcc/gthr-posix.h:503: warning: implicit declaration of function 'pthread_setspecific' ../../gcc/gthr-posix.h:503: error: 'key' undeclared (first use in this function)../../gcc/gthr-posix.h:503: error: 'ptr' undeclared (first use in this function)../../gcc/gthr-posix.h: At top level: ../../gcc/gthr-posix.h:507: error: syntax error before '*' token ../../gcc/gthr-posix.h:508: warning: function declaration isn't a prototype ../../gcc/gthr-posix.h: In function '__gthread_mutex_lock': ../../gcc/gthr-posix.h:508: warning: old-style function definition ../../gcc/gthr-posix.h:510: warning: implicit declaration of function 'pthread_mutex_lock' ../../gcc/gthr-posix.h:510: error: 'mutex' undeclared (first use in this function) ../../gcc/gthr-posix.h: At top level: ../../gcc/gthr-posix.h:516: error: syntax error before '*' token ../../gcc/gthr-posix.h:517: warning: function declaration isn't a prototype ../../gcc/gthr-posix.h: In function '__gthread_mutex_trylock': ../../gcc/gthr-posix.h:517: warning: old-style function definition ../../gcc/gthr-posix.h:519: warning: implicit declaration of function 'pthread_mutex_trylock' ../../gcc/gthr-posix.h:519: error: 'mutex' undeclared (first use in this function) ../../gcc/gthr-posix.h: At top level: ../../gcc/gthr-posix.h:525: error: syntax error before '*' token ../../gcc/gthr-posix.h:526: warning: function declaration isn't a prototype ../../gcc/gthr-posix.h: In function '__gthread_mutex_unlock': ../../gcc/gthr-posix.h:526: warning: old-style function definition ../../gcc/gthr-posix.h:528: warning: implicit declaration of function 'pthread_mutex_unlock' ../../gcc/gthr-posix.h:528: error: 'mutex' undeclared (first use in this function) ../../gcc/gthr-posix.h: At top level: ../../gcc/gthr-posix.h:535: error: syntax error before '*' token ../../gcc/gthr-posix.h:536: warning: function declaration isn't a prototype ../../gcc/gthr-posix.h: In function '__gthread_recursive_mutex_init_function': ../../gcc/gthr-posix.h:536: warning: old-style function definition ../../gcc/gthr-posix.h:539: error: 'pthread_mutexattr_t' undeclared (first use in this function) ../../gcc/gthr-posix.h:539: error: syntax error before 'attr' ../../gcc/gthr-posix.h:542: warning: implicit declaration of function 'pthread_mutexattr_init' ../../gcc/gthr-posix.h:542: error: 'attr' undeclared (first use in this function) ../../gcc/gthr-posix.h:544: warning: implicit declaration of function 'pthread_mutexattr_settype' ../../gcc/gthr-posix.h:544: error: 'PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) ../../gcc/gthr-posix.h:546: warning: implicit declaration of function 'pthread_mutex_init' ../../gcc/gthr-posix.h:546: error: 'mutex' undeclared (first use in this function) ../../gcc/gthr-posix.h:548: warning: implicit declaration of function 'pthread_mutexattr_destroy' ../../gcc/gthr-posix.h: At top level: ../../gcc/gthr-posix.h:556: error: syntax error before '*' token ../../gcc/gthr-posix.h:557: warning: function declaration isn't a prototype ../../gcc/gthr-posix.h: In function '__gthread_recursive_mutex_lock': ../../gcc/gthr-posix.h:557: warning: old-style function definition ../../gcc/gthr-posix.h:558: error: 'mutex' undeclared (first use in this function) ../../gcc/gthr-posix.h: At top level: ../../gcc/gthr-posix.h:562: error: syntax error before '*' token ../../gcc/gthr-posix.h:563: warning: function declaration isn't a prototype ../../gcc/gthr-posix.h: In function '__gthread_recursive_mutex_trylock': ../../gcc/gthr-posix.h:563: warning: old-style function definition ../../gcc/gthr-posix.h:564: error: 'mutex' undeclared (first use in this function) ../../gcc/gthr-posix.h: At top level: ../../gcc/gthr-posix.h:568: error: syntax error before '*' token ../../gcc/gthr-posix.h:569: warning: function declaration isn't a prototype ../../gcc/gthr-posix.h: In function '__gthread_recursive_mutex_unlock': ../../gcc/gthr-posix.h:569: warning: old-style function definition ../../gcc/gthr-posix.h:570: error: 'mutex' undeclared (first use in this function) make[2]: *** [libgcc/./unwind-dw2.o] Error 1 make[2]: Leaving directory `/home/username/arm-linux-gcc-4.0.1/gcc-4.0.1/arm-linux/gcc' make[1]: *** [stmp-multilib] Error 2 make[1]: Leaving directory `/home/username/arm-linux-gcc-4.0.1/gcc-4.0.1/arm-linux/gcc' make: *** [all-gcc] Error 2 =================================================== -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23662
next prev parent reply other threads:[~2005-09-04 0:14 UTC|newest] Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-08-31 20:54 [Bug java/23662] New: " ngmlinux at gmail dot com 2005-08-31 21:01 ` [Bug java/23662] " ngmlinux at gmail dot com 2005-08-31 21:03 ` [Bug boehm-gc/23662] " pinskia at gcc dot gnu dot org 2005-08-31 21:07 ` pinskia at gcc dot gnu dot org 2005-08-31 21:14 ` pinskia at gcc dot gnu dot org 2005-09-01 0:57 ` ngmlinux at gmail dot com 2005-09-01 1:02 ` ngmlinux at gmail dot com 2005-09-01 1:04 ` ngmlinux at gmail dot com 2005-09-01 1:08 ` pinskia at gcc dot gnu dot org 2005-09-01 1:39 ` ngmlinux at gmail dot com 2005-09-01 9:36 ` rmathew at gcc dot gnu dot org 2005-09-01 19:46 ` ngmlinux at gmail dot com 2005-09-02 9:41 ` rmathew at gcc dot gnu dot org 2005-09-02 17:15 ` tromey at gcc dot gnu dot org 2005-09-04 0:14 ` ngmlinux at gmail dot com [this message] 2005-09-04 2:35 ` ngmlinux at gmail dot com 2005-09-04 3:25 ` ngmlinux at gmail dot com 2005-09-04 3:52 ` ngmlinux at gmail dot com 2005-09-04 4:07 ` pinskia at physics dot uc dot edu 2005-09-04 4:20 ` ngmlinux at gmail dot com 2005-09-04 4:22 ` pinskia at gcc dot gnu dot org 2005-09-04 5:02 ` ngmlinux at gmail dot com 2005-09-06 14:21 ` cvs-commit at gcc dot gnu dot org 2005-09-06 14:22 ` cvs-commit at gcc dot gnu dot org 2005-09-06 14:23 ` tromey at gcc dot gnu dot org 2005-09-07 14:07 ` pinskia at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20050904001445.30901.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=java-prs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).