This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Inline Option not working for Mips tool glibc
- From: naveen yadav <yad dot naveen at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 19 Oct 2009 19:47:11 +0530
- Subject: Inline Option not working for Mips tool glibc
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