problem with iostream

D. Peter Siddons siddons at bnl.gov
Sun Jul 26 14:45:00 UTC 2009


Hi Joel,
   My linkcmds file is closely similar to that in the uC5282 bsp. 
Although there are some differences in detail, I think all of the same 
sections are defined. I confess that linkcmds I find pretty opaque. I 
have attached it. Do you see any obvious omissions?
Pete.

Joel Sherrill wrote:
> D. Peter Siddons wrote:
>> I am upgrading my bsp to rtems-4.9 from 4.7. I took the tool rpms. I 
>> used alien to make debs and installed them on my Ubuntu Jaunty. I have 
>> got to the point where everything seems to build OK until it tries to 
>> link the iostream example. I get the following:
>>
>> 272/testsuites/samples/iostream'
>> m68k-rtems4.9-g++ -B../../../../../uC5272/lib/ -specs bsp_specs 
>> -qrtems -m5200 -O4 -fomit-frame-pointer    -m5200   -o 
>> cxx_iostream.exe init.o
>> /opt/rtems-4.9/lib/gcc/m68k-rtems4.9/4.3.2/../../../../m68k-rtems4.9/bin/ld: 
>> error: no memory region specified for loadable section 
>> `.text._ZSt18__throw_bad_typeidv'
>> collect2: ld returned 1 exit status
>>
>> Any suggestions?
>>   
> 
> error: no memory region specified for loadable section
> Compare the linker scripts in /opt with the one for your BSP.
> Apparently there is a section not in your linkcmds.
>> Pete.
>>
>>
>>   
> 
> 

-- 
D. Peter Siddons
Detector Development Group Leader
National Synchrotron Light Source
Brookhaven National Laboratory
Upton, NY 11973

email: siddons at bnl.gov
Phone: (631) 344-2738
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: linkcmds
URL: <http://lists.rtems.org/pipermail/users/attachments/20090726/b1c2f679/attachment.ksh>


More information about the users mailing list