#13060: Valgrind complains about glibc 2.15
----------------------------------------------------------------+-----------
Reporter: jpflori |
Owner: tbd
Type: defect |
Status: needs_review
Priority: major |
Milestone: sage-5.1
Component: optional packages |
Resolution:
Keywords: valgrind spkg | Work
issues:
Report Upstream: Fixed upstream, but not in a stable release. |
Reviewers:
Authors: Jean-Pierre Flori | Merged
in:
Dependencies: |
Stopgaps:
----------------------------------------------------------------+-----------
Comment (by iandrus):
I hate to be the bearer of bad news, but now it fails because
`__private_extern__` being used.
{{{
...
Making all in coregrind
make all-am
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -DVGA_amd64=1
-DVGO_darwin=1 -DVGP_amd64_darwin=1 -DVGPV_amd64_darwin_vanilla=1
-I../coregrind
-DVG_LIBDIR="\"/Users/gvol/SageStuff/sage-5.0.rc0/local/lib/valgrind"\"
-DVG_PLATFORM="\"amd64-darwin\"" -m64 -O2 -g -Wall -Wmissing-prototypes
-Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wno-
format-zero-length -fno-strict-aliasing -fno-builtin -mmacosx-version-
min=10.5 -fno-stack-protector -Wno-long-long -Wno-pointer-sign -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:504:1: error: unknown type name ‘__private_extern__’
m_syscall.c:505:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘do_syscall_unix_WRK’
m_syscall.c:528:1: error: unknown type name ‘__private_extern__’
m_syscall.c:529:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘do_syscall_mach_WRK’
m_syscall.c: In function ‘vgPlain_do_syscall’:
m_syscall.c:648:10: warning: implicit declaration of function
‘do_syscall_unix_WRK’ [-Wimplicit-function-declaration]
m_syscall.c:653:10: warning: implicit declaration of function
‘do_syscall_mach_WRK’ [-Wimplicit-function-declaration]
make[3]: *** [libcoregrind_amd64_darwin_a-m_syscall.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
}}}
Some information about this can be found
[https://developer.apple.com/library/mac/#documentation/developertools/Conceptual/CppRuntimeEnv/Articles/SymbolVisibility.html
on Apple's website]. I think it's a darwin specific feature, but I
couldn't find confirmation of that. A quick check shows they only appear
within one of the `ifdef`'s below
{{{
#elif defined(VGP_x86_darwin)
#elif defined(VGP_amd64_darwin)
#elif defined(VGO_darwin)
}}}
other branches seem to just use `extern`, but I readily admit to not
taking the time to figure out what difference it would make.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13060#comment:19>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.