On 01/06/2014 12:49 PM, Mike Frysinger wrote:
> On Monday 06 January 2014 06:45:43 Markos Chandras wrote:
>> On 01/05/2014 10:27 PM, Mike Frysinger wrote:
>>> On Monday 25 November 2013 05:12:59 Markos Chandras wrote:
>>>> Since glibc-2.18, the struct ptrace_peeksiginfo_args is
>>>> also defined in sys/ptrace.h and conflicts with the definition
>>>> from the Linux kernel in linux/ptrace.h. We fix this by not
>>>> including the linux/ptrace.h header if the sys/ptrace.h header
>>>> defines the said struct. Fixes
>>>> https://github.com/linux-test-project/ltp/issues/6
>>>
>>> i'm somewhat inclined to undo this as it's really a bug in glibc-2.18
>>> that should be fixed in glibc-2.19:
>>>     https://sourceware.org/ml/libc-alpha/2014-01/msg00078.html
>>
>> Ehm that would break the build for people already using 2.18. Even if a
>> new 2.18 is released with the fix, people using the old one will still
>> face the same problem.
>
> i'm aware that would be the situation.  i'm fine with that.
> -mike
>
It's not my call to make, but forcing people to update their glibc in 
order to build LTP is a bit too much. I suggest to keep this workaround 
for X months, until more people have been moved to a fixed glibc version.

strace also has similar fix
http://sourceforge.net/p/strace/code/ci/0b4060f61f1bb101b5d8d084714b7d2feacdb199/

other projects may have one too. Such fixes keep systems with 2.18 
working for now and it really does not affect anyone with <2.18.

but like I said, it not really my call to make. whatever works for you.

-- 
markos


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to