This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
ZhouChang wrote: > I find a problem in the tool chain kegel.com/crosstool/ > > This problem was find in cross complation XFree86 > for SH4( my target board is KMC). >... > sh4-unknown-linux-gnu/bin/ld: warning: type and size of dynamic symbol `__movstr_i4_even' are not defined > the "test" program will cause segmentation fault. You're the second person to post about that problem this month. Thanks for the small test case. I have reproduced the problem here with vanilla gcc-3.3.2 using your test case. Oddly enough, the error message is clear and informative; .size and .type directives are missing in the definition of the function movstr_i4_even. A patch to add them was http://gcc.gnu.org/ml/gcc-patches/2002-11/msg01641.html aka http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sh/lib1funcs.asm.diff?r1=1.29.4.1&r2=1.29.4.2 I have verified that adding this patch to gcc-3.3.2 yields a toolchain that does not issue that warning when linking your testcase. I do not currently have access to sh4 hardware, so I can't fully verify the fix (anyone have an sh4 linux system they want to send me? :-) Please give it a try and let us know if it works. A similar fix is already present in the 3.4 snapshots, for what it's worth. I'll try to include this patch in crosstool-0.26 soonish. - Dan ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |