Hi -
On Tue, Nov 28, 2006 at 12:31:01PM +1300, Avinash Malik wrote:
> [...]
> After a lot of work arounds I could get sid compiled and installed.
> But I still cannot target the SHboard since that gives me a internal
> compiler error: segmentation fault.
These are the errors I'm seeing building today's cvs sid with FC5's
gcc-4.1.1:
make[1]: Entering directory `..../sid/main/dynamic'
/bin/sh ./libtool --tag=CXX --mode=link c++ -DSIDTARGET_SH -DSIDTARGET_SH64 -g -O2 -o sid -export-dynamic -static -export-symbols-regex '[a-zA-Z0-9]*_library$' ../../component/cfgroot/libconfig.la mainDynamic.o baseCfg.o commonCfg.o shCfg.o shCfg.o -L../../../libiberty/pic -L../../../libiberty -liberty
c++ -DSIDTARGET_SH -DSIDTARGET_SH64 -g -O2 -o sid mainDynamic.o baseCfg.o commonCfg.o shCfg.o shCfg.o -Wl,--export-dynamic ../../component/cfgroot/.libs/libconfig.a -ldl -L....libiberty/pic -L....libiberty -liberty
shCfg.o: In function `~ShBoardCfg':
../../../../src/sid/main/dynamic/shCfg.cxx:13: multiple definition of `ShBoardCfg::ShBoardCfg(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, SessionCfg*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
shCfg.o:../../../../src/sid/main/dynamic/shCfg.cxx:13: first defined here
shCfg.o: In function `mk_sh5_64media(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, SessionCfg*)':
../../../../src/sid/main/dynamic/shCfg.cxx:219: multiple definition of `mk_sh5_64media(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, SessionCfg*)'
shCfg.o:../../../../src/sid/main/dynamic/shCfg.cxx:219: first defined here
shCfg.o: In function `mk_sh5_32media(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, SessionCfg*)':
So there is definitely a problem. And from the compiler command line,
it's easy to see: shCfg.o is being listed and linked twice. Dave?
> I thought this would mean an error with my memory. I carried out a
> memtest, my memory seems to be fine. [...]
Yes, that was a long shot.
> The Shboard error is here: Sh.h:314.
I see no file named "Sh.h". There is a .../cgen-cpu/sh/sh.h.
> I cannot post anything to the mailing-list dont know why although I
> am subscribed.
Perhaps you are sending HTML mail. sourceware does not accept those.
> Also I dont get any mails from the mailing-list. [...]
That is very odd, since the logs don't show anything strange about
your subscription. Maybe google is spam-filtering too eagerly?
- FChE