Inline Option not working for Mips tool glibc
naveen yadav
yad.naveen@gmail.com
Mon Oct 19 20:02:00 GMT 2009
Hello,
I was compiling a glibc with mips compiler "mips-linux-gnu" I do get
multiple defination of symbols
__mknod
__stat
Even though these function are inlined and i have used CFLAGS option
-winline. But when i check the function I see the function not inlined
this can be verified with
mips-linux-gnu-nm
/home/uma/mips-4.3-154-mips-linux-gnu/glibc-2.8/objdir/elf/dl-profile.os
| grep -H __mknod
(standard input):00000ccc T __mknod
We have the function in the executable, this shows it is not inlined.
I have checked with always_inlined option also. It is not inlining, Is
there some issue in the mips tools chain for glibc-2.8,
gcc version is gcc-4.3.3
Will be happy to hear soon.
Sincere Regards
Naveen
More information about the Gcc-help
mailing list