https://bugs.kde.org/show_bug.cgi?id=363242
Bug ID: 363242
Summary: make error:"m_syscall.c:708:1: error: unknown type
name ‘__private_extern__’"
Product: valgrind
Version: 3.11.0
Platform: Compiled Sources
OS: OS X
Status: UNCONFIRMED
Severity: major
Priority: NOR
Component: bbv
Assignee: [email protected]
Reporter: [email protected]
`Make` fails to compile.
OSX 10.9.5 "Mavericks"
Reproducible: Always
Steps to Reproduce:
1. ./autogen.sh
2. ./configure --prefix=/usr/local
3. make
Actual Results:
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -I../VEX/pub
-DVGA_amd64=1 -DVGO_darwin=1 -DVGP_amd64_darwin=1 -DVGPV_amd64_darwin_vanilla=1
-I../coregrind -DVG_LIBDIR="\"/usr/local/lib/valgrind"\"
-DVG_PLATFORM="\"amd64-darwin\"" -arch x86_64 -O2 -g -std=gnu99 -Wall
-Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes
-Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings -Wempty-body
-Wformat -Wformat-security -Wignored-qualifiers -Wmissing-parameter-type
-Wold-style-declaration -fno-stack-protector -fno-strict-aliasing -fno-builtin
-mmacosx-version-min=10.5 -fno-stack-protector -MT
libcoregrind_amd64_darwin_a-m_syscall.o -MD -MP -MF
.deps/libcoregrind_amd64_darwin_a-m_syscall.Tpo -c -o
libcoregrind_amd64_darwin_a-m_syscall.o `test -f 'm_syscall.c' || echo
'./'`m_syscall.c
m_syscall.c:708:1: error: unknown type name ‘__private_extern__’
__private_extern__ UWord
^
m_syscall.c:709:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘do_syscall_unix_WRK’
do_syscall_unix_WRK ( UWord a1, UWord a2, UWord a3, /* rdi, rsi, rdx */
^
m_syscall.c:732:1: error: unknown type name ‘__private_extern__’
__private_extern__ UWord
^
m_syscall.c:733:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘do_syscall_mach_WRK’
do_syscall_mach_WRK ( UWord a1, UWord a2, UWord a3, /* rdi, rsi, rdx */
^
m_syscall.c: In function ‘vgPlain_do_syscall’:
m_syscall.c:1017:16: warning: implicit declaration of function
‘do_syscall_unix_WRK’ [-Wimplicit-function-declaration]
wLO = do_syscall_unix_WRK(a1,a2,a3,a4,a5,a6,a7,a8,
^
m_syscall.c:1022:16: warning: implicit declaration of function
‘do_syscall_mach_WRK’ [-Wimplicit-function-declaration]
wLO = do_syscall_mach_WRK(a1,a2,a3,a4,a5,a6,a7,a8,
^
make[3]: *** [libcoregrind_amd64_darwin_a-m_syscall.o] Error 1
$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
--
You are receiving this mail because:
You are watching all bug changes.