#13060: Valgrind complains about glibc 2.15
----------------------------------------------------------------+-----------
Reporter: jpflori |
Owner: tbd
Type: defect |
Status: needs_work
Priority: major |
Milestone: sage-5.1
Component: optional packages |
Resolution:
Keywords: valgrind spkg | Work
issues: testsuite fails
Report Upstream: Fixed upstream, but not in a stable release. |
Reviewers:
Authors: Jean-Pierre Flori | Merged
in:
Dependencies: |
Stopgaps:
----------------------------------------------------------------+-----------
Comment (by iandrus):
Replying to [comment:7 jpflori]:
> About the test suite failure, I'm not convinced it should prevent
including the updated p0 spkg proposed here, if they were present before.
> I must admit I do not remember seeing errors when dealing with #7766,
but we potentially forgot to run the testsuite all along.
I know I ran the test suite last time at least once, but I think I saw a
few failures on my Mac. Now trying to install it on Sage 5.0 neither will
even build. I should have thought to build it when I was testing the
betas. The old spkg gives
{{{
...
make all-recursive
Making all in include
make[2]: Nothing to be done for `all'.
Making all in VEX
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 -Ipriv
-arch x86_64 -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 -Wbad-function-cast -Wcast-qual -Wcast-align -fstrict-aliasing
-Wno-long-long -Wno-pointer-sign -fno-stack-protector -MT
libvex_amd64_darwin_a-main_globals.o -MD -MP -MF .deps
/libvex_amd64_darwin_a-main_globals.Tpo -c -o libvex_amd64_darwin_a-
main_globals.o `test -f 'priv/main_globals.c' || echo
'./'`priv/main_globals.c
gcc: error: x86_64: No such file or directory
gcc: error: unrecognized option ‘-arch’
make[3]: *** [libvex_amd64_darwin_a-main_globals.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error building Valgrind 3.7.0
...
}}}
So it looks like the former is a problem with the new gcc package:
{{{
sage -sh -c 'which gcc'
/Users/gvol/SageStuff/sage-5.0.rc0/local/bin/gcc
}}}
And the spkg for review here gives.
{{{
...
checking for a sed that does not truncate output... /usr/bin/sed
checking for perl... /usr/bin/perl
checking for gdb... /usr/bin/gdb
checking dependency style of gcc... gcc3
checking for diff -u... yes
checking for a supported version of gcc... ok (4.6.3)
configure: error: cannot run /bin/sh ./config.sub
Error configuring Valgrind 3.7.0
...
}}}
Here `config.sub` is a symlink to `/usr/share/automake-1.11/config.sub`.
This probably has something to do with you running `./autogen.sh`, but I'm
not an expert in how to fix that. If I run `./autgen.sh` myself then it
configures fine but runs into the `-arch` problem as before.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13060#comment:8>
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.