ww3877989 / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

Compilation failure for MIPS64 #599

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm using the Buildroot distribution (http://buildroot.busybox.net/) and I'm 
trying to build a filesystem for MIPS64 n64 LittleEndian with the package 
"google-breakpad" included.

This is snippet of the compilation error (the full build log is attached):

/home/test/autobuild/instance-2/output/host/usr/bin/mips64el-ctng_n64-linux-gnu-
g++ -DHAVE_CONFIG_H -I. -I./src  -I./src -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Werror=missing-braces 
-Werror=non-virtual-dtor -Werror=overloaded-virtual -Werror=reorder 
-Werror=sign-compare -Werror=unused-variable -Werror=vla -fPIC 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -Os  
-MT src/client/linux/handler/exception_handler.o -MD -MP -MF $depbase.Tpo -c -o 
src/client/linux/handler/exception_handler.o 
src/client/linux/handler/exception_handler.cc &&\
    mv -f $depbase.Tpo $depbase.Po
In file included from 
src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc:42:0:
./src/third_party/lss/linux_syscall_support.h: In function 'int 
sys_getdents64(int, kernel_dirent64*, int)':
./src/third_party/lss/linux_syscall_support.h:2324:55: error: '__NR_getdents64' 
was not declared in this scope
           register unsigned long __v0 __asm__("$2") = __NR_##name;            \
                                                       ^
./src/third_party/lss/linux_syscall_support.h:2356:9: note: in expansion of 
macro 'LSS_BODY'
         LSS_BODY(type, name, "=r", "r"(__r4), "r"(__r5), "r"(__r6));          \
         ^
./src/third_party/lss/linux_syscall_support.h:2758:14: note: in expansion of 
macro '_syscall3'
   LSS_INLINE _syscall3(int,     getdents64,      int,         f,
              ^
make[1]: *** 
[src/client/linux/minidump_writer/src_client_linux_linux_dumper_unittest_helper-
linux_dumper_unittest_helper.o] Error 1
make[1]: *** Waiting for unfinished jobs....

Original issue reported on code.google.com by per...@gmail.com on 3 Jul 2014 at 11:54

Attachments:

GoogleCodeExporter commented 9 years ago
Note that the linux_syscall_support header is actually maintained in a separate 
repository:
https://code.google.com/p/linux-syscall-support/

Original comment by ted.mielczarek on 7 Jul 2014 at 11:11

GoogleCodeExporter commented 9 years ago
Ok, I have submitted an issue in that repository:

https://code.google.com/p/linux-syscall-support/issues/detail?id=7

Original comment by per...@gmail.com on 8 Jul 2014 at 3:47