public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: suma sharma <sumasamyukta@gmail.com>
To: carmelo73@gmail.com
Cc: glibc-bugs@sourceware.org
Subject: Re: glibc configure error: forced unwind support is required
Date: Fri, 03 Apr 2009 09:12:00 -0000 [thread overview]
Message-ID: <aaa6f2a40904030211i31918164p28dd3290025c9fc3@mail.gmail.com> (raw)
In-Reply-To: <49D4DC34.6060505@gmail.com>
>>I think that you need --enable-shared for generating libgcc,
> that will provide stack unwind support.
I tried using the option "enable-shared" for configuring the bootstrap
gcc... But it did not help :( I got the same error as before...
So, i checked my 'config.log'.. It reported the following errors:
-----------------------------------------------------------------------
ERROR 1: ((/../../../../i386-linux/sys-include/stdio.h:141:28: error:
-------- bits/stdio_lim.h: No such file or directory))
configure:3411: checking whether
/home/sumas/native_tc/prefix/bin/i386-linux-gcc accepts -g
configure:3441: /home/sumas/native_tc/prefix/bin/i386-linux-gcc -c -g
conftest.c >&5
configure:3447: $? = 0
configure:3546: result: yes
configure:3563: checking for
/home/sumas/native_tc/prefix/bin/i386-linux-gcc option to accept ISO
C89
configure:3637: /home/sumas/native_tc/prefix/bin/i386-linux-gcc -c -g
-O2 conftest.c >&5 In file included from conftest.c:10:
/home/sumas/native_tc/prefix/bin/../lib/gcc/i386-linux/4.4.0/../../../../i386-linux/sys-include/stdio.h:141:28:
error: bits/stdio_lim.h: No such file or directory
configure:3643: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define USE_REGPARMS 1
| /* end confdefs.h. */
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.
| */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat
| *, int); static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...) {
| char *s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
------------------------------------------------------------------------
------------------------------------------------------------------------
ERROR 2: ((/../../../../i386-linux/bin/ld: Scrt1.o: No such file: No such
-------- file or directory))
configure:6359: checking for -fpie
configure:6370: /home/sumas/native_tc/prefix/bin/i386-linux-gcc -g -O2
-pie -fpie
-o conftest conftest.c 1>&5
/home/sumas/native_tc/prefix/bin/../lib/gcc/i386-linux/4.4.0/../../../../i386-linux/bin/ld:
Scrt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:6373: $? = 1
configure:6382: result: no
------------------------------------------------------------------------
------------------------------------------------------------------------
ERROR 3: ((/../../../../i386-linux/bin/ld: crt1.o: No such file: No such
-------- file or directory))
configure:7197: checking for is_selinux_enabled in -lselinux
configure:7232: /home/sumas/native_tc/prefix/bin/i386-linux-gcc -o
conftest -g -O2 conftest.c -lselinux >&5
/home/sumas/native_tc/prefix/bin/../lib/gcc/i386-linux/4.4.0/../../../../i386-linux/bin/ld:
crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:7238: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define USE_REGPARMS 1
| #define ASM_GLOBAL_DIRECTIVE .globl
| #define HAVE_ASM_SET_DIRECTIVE 1
| #define ASM_TYPE_DIRECTIVE_PREFIX @
| #define DO_VERSIONING 1
| #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
| #define HAVE_Z_COMBRELOC 1
| #define NO_UNDERSCORES 1
| #define HAVE_ASM_WEAK_DIRECTIVE 1
| #define HAVE_ASM_CFI_DIRECTIVES 1
| #define HAVE_BUILTIN_MEMSET 1
| #define HAVE_BUILTIN_REDIRECTION 1
| #define HAVE___THREAD 1
| #define HAVE_TLS_MODEL_ATTRIBUTE 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus extern "C"
| #endif
| char is_selinux_enabled ();
| int
| main ()
| {
| return is_selinux_enabled ();
| ;
| return 0;
| }
------------------------------------------------------------------------
------------------------------------------------------------------------
ERROR 4: ((error: forced unwind support is required))
--------
| /* confdefs.h. */
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define USE_REGPARMS 1
| #define ASM_GLOBAL_DIRECTIVE .globl
| #define HAVE_ASM_SET_DIRECTIVE 1
| #define ASM_TYPE_DIRECTIVE_PREFIX @
| #define DO_VERSIONING 1
| #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
| #define HAVE_Z_COMBRELOC 1
| #define NO_UNDERSCORES 1
| #define HAVE_ASM_WEAK_DIRECTIVE 1
| #define HAVE_ASM_CFI_DIRECTIVES 1
| #define HAVE_BUILTIN_MEMSET 1
| #define HAVE_BUILTIN_REDIRECTION 1
| #define HAVE___THREAD 1
| #define HAVE_TLS_MODEL_ATTRIBUTE 1
| #define SIZEOF_LONG_DOUBLE 0
| #define HAVE_TLS_SUPPORT 1
| #define PI_STATIC_AND_HIDDEN 1
| /* end confdefs.h. */
| #include <unwind.h>
| int
| main ()
| {
|
| struct _Unwind_Exception exc;
| struct _Unwind_Context *context;
| _Unwind_GetCFA (context)
| ;
| return 0;
| }
configure:79: result: no
configure:150: error: forced unwind support is required
------------------------------------------------------------------------
Help me please....
Regards,
Suma
prev parent reply other threads:[~2009-04-03 9:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-01 16:41 suma sharma
2009-04-02 15:39 ` Carmelo Amoroso
2009-04-03 9:12 ` suma sharma [this message]
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=aaa6f2a40904030211i31918164p28dd3290025c9fc3@mail.gmail.com \
--to=sumasamyukta@gmail.com \
--cc=carmelo73@gmail.com \
--cc=glibc-bugs@sourceware.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: link
Be 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).