Hello, I am trying to get the C++ testsuite to pass for an embedded system...
Karl Lindstrom
karllindstrom@mac.com
Wed Jul 2 18:19:00 GMT 2008
To whom it may concern,
Sorry for the interruption.
I figured it out. My .data section needed to be .data.*.
Thanks!
-Karl
On Jul 2, 2008, at 10:51 AM, Karl Lindstrom wrote:
> And I have most of it compiling.
>
> I am running in to a strange error, however, when I try and compile
> the
> following files:
>
> ext\mt_allocator\deallocate_global_thread-1.cc
> ext\mt_allocator\deallocate_global_thread-3.cc
> ext\mt_allocator\deallocate_local_thread-1.cc
> ext\mt_allocator\deallocate_local_thread-3.cc
> ext\mt_allocator\deallocate_local_thread-5.cc
> ext\mt_allocator\deallocate_local_thread-7.cc
>
> I get the following errors, in the linking phase of the build:
>
> buildLog-0032.txt:C:\Blunk\tools\2008.0\gnu\bin\m68k-elf-ld: error:
> no memory region specified for loadable section
> `.data._ZZN9__gnu_cxx18__common_pool_baseINS_6__poolELb1EE18_S_initial
> ize_onceEvE6__once'
> buildLog-0033.txt:C:\Blunk\tools\2008.0\gnu\bin\m68k-elf-ld: error:
> no memory region specified for loadable section
> `.data._ZZN9__gnu_cxx20__per_type_pool_baseISt10_List_nodeISsENS_6__po
> olELb1EE18_S_initialize_onceEvE6__once'
> buildLog-0034.txt:C:\Blunk\tools\2008.0\gnu\bin\m68k-elf-ld: error:
> no memory region specified for loadable section
> `.data._ZZN9__gnu_cxx18__common_pool_baseINS_6__poolELb1EE18_S_initial
> ize_onceEvE6__once'
> buildLog-0035.txt:C:\Blunk\tools\2008.0\gnu\bin\m68k-elf-ld: error:
> no memory region specified for loadable section
> `.data._ZZN9__gnu_cxx20__per_type_pool_baseIcNS_6__poolELb1EE18_S_init
> ialize_onceEvE6__once'
> buildLog-0036.txt:C:\Blunk\tools\2008.0\gnu\bin\m68k-elf-ld: error:
> no memory region specified for loadable section
> `.data._ZZN9__gnu_cxx18__common_pool_baseI12cleanup_poolLb1EE18_S_init
> ialize_onceEvE6__once'
> buildLog-0037.txt:C:\Blunk\tools\2008.0\gnu\bin\m68k-elf-ld: error:
> no memory region specified for loadable section
> `.data._ZZN9__gnu_cxx20__per_type_pool_baseIc12cleanup_poolLb1EE18_S_i
> nitialize_onceEvE6__once'
>
> Do I need to define some section in the linker specification file,
> and if so, what would I define?
> I briefly looked over the mt_allocator.h file and could not see
> where these names came from.
>
> Any help or pointers would be most appreciated.
>
> -Karl
>
More information about the Libstdc++
mailing list