You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Download the .tar.gz to an x86_64 machine
2. ./configure
3. make
What is the expected output? What do you see instead?
I see build errors like this:
g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -I/home/mrabkin/unwind/include
-pthread -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual
-Wno-sign-compare -DNO_FRAME_POINTER -g -O2 -MT
libtcmalloc_minimal_la-malloc_hook.lo -MD -MP -MF
.deps/libtcmalloc_minimal_la-malloc_hook.Tpo -c src/malloc_hook.cc -fPIC
-DPIC -o .libs/libtcmalloc_minimal_la-malloc_hook.o
src/base/linux_syscall_support.h: In function 'ssize_t sys_pread64(int,
void*, size_t, loff_t)':
src/base/linux_syscall_support.h:2733: error: '__NR_pread64' was not
declared in this scope
src/base/linux_syscall_support.h: In function 'ssize_t sys_pwrite64(int,
const void*, size_t, loff_t)':
src/base/linux_syscall_support.h:2735: error: '__NR_pwrite64' was not
declared in this scope
make: *** [libtcmalloc_minimal_la-malloc_hook.lo] Error 1
What version of the product are you using? On what operating system?
$ uname -a
Linux <hostname> 2.6.12-1.1398_FC4smp #1 SMP Fri Jul 15 01:05:24 EDT 2005
x86_64 x86_64 x86_64 GNU/Linux
Please provide any additional information below.
I looked in the offending .h file, and it does seem that __NR_pread64 is
simply not defined for x86_64 systems.
Original issue reported on code.google.com by mrab...@gmail.com on 15 Feb 2008 at 10:26
The text was updated successfully, but these errors were encountered:
it seems to compile and run (at least some tests pass) if the above two uses are
changed to 'pread' and 'pwrite' from 'pread64' and 'pwrite64', respectively.
Original comment by mrab...@gmail.com on 15 Feb 2008 at 11:38
Original issue reported on code.google.com by
mrab...@gmail.com
on 15 Feb 2008 at 10:26The text was updated successfully, but these errors were encountered: