This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

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


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