pkorotkov / google-coredumper

Automatically exported from code.google.com/p/google-coredumper
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Wrong compilation with icc over IA64 #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Compile with ./configure --prefix=/users/dsdeldev/Coredumper/comp CC=icc
CFLAGS="-D__64BIT__ -D__LINUX64__ -D_LP64 -g -fPIC -w1 -O3 -pipe -Wall
-Wpointer-arith -Wshadow -Wmissing-prototypes -Wstrict-prototypes" CXX=icpc
CXXFLAGS="-D__64BIT__ -D__LINUX64__ -D_LP64 -g -fPIC -w1 -O3 -pipe -Wall
-Wpointer-arith -Wshadow -Wmissing-prototypes -Wstrict-prototypes"

execute gmake 

There are many error related to undefined identifiers:

/bin/sh ./libtool --tag=CC --mode=link icc -fno-omit-frame-pointer
-D__64BIT__ -D__LINUX64__ -D_LP64 -g -fPIC -w1 -O3 -pipe -Wall
-Wpointer-arith -Wshadow -Wmissing-prototypes -Wstrict-prototypes   -o
coredumper_unittest  coredumper_unittest.o libcoredumper.la -lpthread 
icc -fno-omit-frame-pointer -D__64BIT__ -D__LINUX64__ -D_LP64 -g -fPIC -w1
-O3 -pipe -Wall -Wpointer-arith -Wshadow -Wmissing-prototypes
-Wstrict-prototypes -o .libs/coredumper_unittest coredumper_unittest.o 
./.libs/libcoredumper.so -lpthread -Wl,--rpath
-Wl,/users/dsdeldev/Coredumper/comp/lib
creating coredumper_unittest
if icpc -DHAVE_CONFIG_H -I. -I. -I./src  -I./src   -D__64BIT__
-D__LINUX64__ -D_LP64 -g -fPIC -w1 -O3 -pipe -Wall -Wpointer-arith -Wshadow
-Wmissing-prototypes -Wstrict-prototypes -MT
linux_syscall_support_unittest.o -MD -MP -MF
".deps/linux_syscall_support_unittest.Tpo" -c -o
linux_syscall_support_unittest.o `test -f
'src/linux_syscall_support_unittest.cc' || echo
'./'`src/linux_syscall_support_unittest.cc; \
then mv -f ".deps/linux_syscall_support_unittest.Tpo"
".deps/linux_syscall_support_unittest.Po"; else rm -f
".deps/linux_syscall_support_unittest.Tpo"; exit 1; fi
src/linux_syscall_support_unittest.cc(94): error: incomplete type is not
allowed
    CHECK(sizeof(struct dirent64)  == sizeof(struct kernel_dirent64));
    ^

src/linux_syscall_support_unittest.cc(95): error: incomplete type is not
allowed
    CHECK(sizeof(struct dirent)    == sizeof(struct kernel_dirent));
    ^

src/linux_syscall_support_unittest.cc(96): error: incomplete type is not
allowed
    CHECK(sizeof(struct iovec)     == sizeof(struct kernel_iovec));
    ^

src/linux_syscall_support_unittest.cc(97): error: incomplete type is not
allowed
    CHECK(sizeof(struct msghdr)    == sizeof(struct kernel_msghdr));

etc...

This error have been found compiling with icc 9.1 20070111 on a IA64
architecture using SuSE 10

I need a solution for this compilation errors. Thanks for your time.

Best regards,
Christina.

Original issue reported on code.google.com by Christin...@gmail.com on 3 May 2010 at 8:23

GoogleCodeExporter commented 9 years ago
I forgot to say, this is happening with the latest version: Coredumper 1.2.1

Original comment by Christin...@gmail.com on 3 May 2010 at 9:14