This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[M16C] : no .eh_frame_hdr table will be created


Hi,

We are trying to build M16C toolchain for C++ language using
binutils-2.17.90, gcc-4.2.1 and newlib-1.15.0 sources.
During our investigation we found that the regression testing results
are 'ok' for m32c and m32cm targets. But, much more failures were
observed in case of r8c and m16c targets.

Also, compiling the following testcase (from gcc regression testsuite)
for m16c target leads to an error,

// Start of testcase

===========================================================

struct st_test
{
	int bit :1;
};

int main ()
{
	st_test st_obj;
	st_obj.bit = 1;

	return 0;
}

===========================================================

// End of testcase

Command line options:
m32c-elf-g++ test.cpp -mcpu=m16c -msim -o test.o

ERROR:
$(TCINSTALL)/m32c-elf/bin/ld:
error in $(TCINSTALL)/m32c-elf/lib/libstdc++.a (eh_catch.o)(.eh_frame);
no .eh_frame_hdr table will be created.

The above error also leads to many failures in g++ regression testing
for r8c and m16c targets.

However, the executable (test.o) for the above testcase gets generated
and it executes as expected on gdb simulator.

The mentioned error is not generated in m32c and m32cm targets.

Any help on this will be appreciated.

Regards,
Sushil Kothawade

KPIT Cummins InfoSystems Ltd.
Pune, India
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNU based tool-chains for Renesas' SH, H8, R8C, M16C
and M32C Series. The following site also offers free technical support
to its users. Visit http://www.kpitgnutools.com for details.
Latest versions of KPIT GNU tools were released on October 1, 2007.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]