LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   CFI directive support in assembler? (https://www.linuxquestions.org/questions/programming-9/cfi-directive-support-in-assembler-216511/)

jedihawk 08-11-2004 11:30 PM

CFI directive support in assembler?
 
Greetings Gurus,

I'm trying to upgrade my glibc. If I were a newbie, I would have given up long, long ago.

I've had to install and/or upgrade many other packages, and they needed many other packes as well. I do all this from source, no binaries here.

So... now I'm back once again in my glibc-build dir. The command (as always) was:

Code:

[jedihawk@badass glibc-build]$ ../glibc-2.3.3/configure --enable-add-ons
After it checks the kitchen sink, I get a strange error. Not even Google can help with this one. Here are the last few lines of the configure and then the error:

Code:

checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for long double... yes
checking size of long double... 12
running configure fragment for sysdeps/i386/elf
running configure fragment for nptl/sysdeps/pthread
configure: error: CFI directive support in assembler is required

Does anyone know what this means? Or what options I need to pass GNU as (I've already upgraded my binutils)? Or any other package that I may need?

Here's what I've got now:

Code:

[jedihawk@badass glibc-build]$ which as
/usr/local/bin/as
[jedihawk@badass glibc-build]$ /usr/local/bin/as --version
GNU assembler 2.14 20030612
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i686-pc-linux-gnu'.

[jedihawk@badass glibc-build]$ which gcc
/usr/local/bin/gcc
[jedihawk@badass glibc-build]$ /usr/local/bin/gcc -v
Reading specs from /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.1/specs
Configured with: ./configure --enable-threads
Thread model: posix
gcc version 3.4.1

[jedihawk@badass glibc-build]$ which gettext
/usr/local/bin/gettext
[jedihawk@badass glibc-build]$ /usr/local/bin/gettext --version
gettext (GNU gettext-runtime) 0.14.1
Copyright (C) 1995-1997, 2000-2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Ulrich Drepper.

[jedihawk@badass glibc-build]$ uname -a
Linux badass.jedihawk.net 2.4.16 #1 SMP Tue Feb 19 09:53:17 PST 2002 i686 unknown

I've been spending all week on this and I'm really getting frustrated, so please forgive me if I sound annoyed... I am.

Thanks for your help and time.

-Hawk

Yerp 01-19-2005 10:47 PM

GNU assembler 2.14 20030612 problem??
 
I get the same error with the same exact assembler:

Code:

./configure --prefix=/tools --disable-profile --enable-add-ons=nptl --with-binutils=/tools/bin --with-headers=/tools/include --without-gd --without-cvs --with-tls &&
or with

Code:

./configure --prefix=/tools --disable-profile --enable-add-ons=nptl --with-binutils=/tools/bin --with-headers=/tools/include --without-gd --without-cvs --with-tls --with-__thread --enable-kernel=2.4.0 &&
Returns the same error you have observed.

I have no clue at the moment to the solution, but I am trying to upgrade to a newer version. (2.15)

Yerp 01-20-2005 07:11 AM

So far so good, I redid the system with binutils-2.15 instead of 2.14 and it seems to be compiling now.
(btw i am installing glibc 2.3.3)


All times are GMT -5. The time now is 01:40 AM.