LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 08-11-2004, 11:30 PM   #1
jedihawk
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:

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
 
Old 01-19-2005, 10:47 PM   #2
Yerp
Member
 
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:

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)
 
Old 01-20-2005, 07:11 AM   #3
Yerp
Member
 
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)
 
  


Reply


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


All times are GMT -5. The time now is 07:25 AM.

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