I'm so sorry - I left out some information and my message was not clear.  

Valgrind itself builds and runs fine it's the regression tests that failed to 
compile and/or link.

During my further investigation, the pie/no-pie linking problem turned out to 
be a bad file in our repository.

The problem with  valgrind/memcheck/tests/linux/stack_changes.c appears to be 
an actual problem with the source.  In June of
2017 the gnu c header file sys/ucontext.h was changed.  typedef struct ucontext 
is now typedef struct ucontext_t.  This change
is included in the latest release of glibc 2.26 (Aug 2017).  

Thank you,
Mark Roberts


-----Original Message-----
From: John Reiser [mailto:jrei...@bitwagon.com] 
Sent: Tuesday, January 02, 2018 9:02 AM
To: valgrind-users@lists.sourceforge.net
Subject: Re: [Valgrind-users] problems with Ubuntu 17.10

> But the larger, more pervasive problem is with this release of Ubuntu 
> the gcc (7.2.0) compiler has changed to emitting position independent 
> code by default. I have tried to add -no-pie to compiler options but 
> have not been successful.

Why is that a problem?  And is it a problem in building valgrind itself, or in 
applying an old valgrind to newly-compiled code?
Please give an explicit example (copy+paste) of a new complaint, and analyze it 
as best you can.

-- 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech 
sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to