OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Apr 23, 2024 5:04 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Boomstick and "no .eh_frame_hdr table will be created"
PostPosted: Sun Jun 24, 2012 8:10 am 
Offline

Joined: Fri Mar 06, 2009 12:18 pm
Posts: 12
Location: Poland
Hi!
I'm using "Boomstick" script to build toolchain. All is OK, but when I try to compile "Hello world" I get:
Code:
/home/lukasz/Pulpit/os/lukos-0.0.4/tools/boomstick/local/lib/gcc/x86_64-pc-lukos/4.5.0/../../../../x86_64-pc-lukos/bin/ld: error in /home/lukasz/Pulpit/os/lukos-0.0.4/tools/boomstick/local/lib/gcc/x86_64-pc-lukos/4.5.0/crtend.o(.eh_frame); no .eh_frame_hdr table will be created.


Thanks for reply,
lukasz1235

_________________
LukOS


Top
 Profile  
 
 Post subject: Re: Boomstick and "no .eh_frame_hdr table will be created"
PostPosted: Sun Jun 24, 2012 8:16 am 
Offline

Joined: Fri Mar 06, 2009 12:18 pm
Posts: 12
Location: Poland
Ekhm... "How I can repair this?"

_________________
LukOS


Top
 Profile  
 
 Post subject: Re: Boomstick and "no .eh_frame_hdr table will be created"
PostPosted: Sun Jun 24, 2012 11:04 am 
Offline
Member
Member
User avatar

Joined: Tue Jul 10, 2007 5:27 am
Posts: 2935
Location: York, United Kingdom
You'll need to give a little more detail than that.

For example, are you using C++? The linker is complaining that the sections that are going to be produced are incompatible with C++ w/exception handling.

A command line would be useful, for example.

_________________
Horizon - a framework and language for SAS-OS development
Project 'Pedigree'
Practical x86 OSDev tutorials


Top
 Profile  
 
 Post subject: Re: Boomstick and "no .eh_frame_hdr table will be created"
PostPosted: Sun Jun 24, 2012 1:04 pm 
Offline

Joined: Fri Mar 06, 2009 12:18 pm
Posts: 12
Location: Poland
Code:
x86_64-pc-lukos-gcc -o"../../img/bin/app1" app1.c

_________________
LukOS


Top
 Profile  
 
 Post subject: Re: Boomstick and "no .eh_frame_hdr table will be created"
PostPosted: Sun Jun 24, 2012 3:05 pm 
Offline
Member
Member

Joined: Thu Mar 25, 2010 11:26 pm
Posts: 1801
Location: Melbourne, Australia
I had the same problem. Read this http://forum.osdev.org/viewtopic.php?f=1&t=25015&start=0&hilit=eh_frame_hdr
Quote:
You can get this error if your GCC is not built correctly. I'm not sure about the cross-compiler in the tutorial but for a long time I had this issue. Eventually modifying this line in my config.gcc solved it. My recollection is that it applies mainly to 64 bit cross-compilers. I'm not suggesting that it's your problem but offer it here in case others are looking for a solution.

Code:
+   tmake_file="${tmake_file} i386/t-i386elf t-svr4 386/t-crtstuff"

Adding the i386/t-crtstuff was the solution.

_________________
If a trainstation is where trains stop, what is a workstation ?


Top
 Profile  
 
 Post subject: Re: Boomstick and "no .eh_frame_hdr table will be created"
PostPosted: Mon Jun 25, 2012 7:49 am 
Offline

Joined: Fri Mar 06, 2009 12:18 pm
Posts: 12
Location: Poland
Problem solved. Thanks.

_________________
LukOS


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], DotBot [Bot], Majestic-12 [Bot] and 118 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group