Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-11-2004, 11:30 PM   #1
LQ Newbie
Registered: Aug 2004
Posts: 5

Rep: Reputation: 0
Question 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:

[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:

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:

[jedihawk@badass glibc-build]$ which 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
[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
[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
Written by Ulrich Drepper.

[jedihawk@badass glibc-build]$ uname -a
Linux 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.

Old 01-19-2005, 10:47 PM   #2
Registered: Jun 2004
Distribution: Turtle Kevux 0.8.8
Posts: 129

Rep: Reputation: 15
GNU assembler 2.14 20030612 problem??

I get the same error with the same exact assembler:

./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

./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)
Old 01-20-2005, 07:11 AM   #3
Registered: Jun 2004
Distribution: Turtle Kevux 0.8.8
Posts: 129

Rep: Reputation: 15
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)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB 0.95 Color Directive RJEmery Linux - Newbie 1 04-19-2005 08:38 AM
apache User directive merchtemeagle Linux - Software 2 03-07-2005 03:42 PM
Apache Directive sopiaz57 Linux - Security 2 12-09-2003 01:32 PM
Alias directive in Apache 1.3.22 mswebs Linux - Networking 2 08-01-2003 02:09 PM
Need an Assembler ChimpFace9000 Programming 1 07-18-2001 09:36 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration