Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141010073013.GB32574@openwall.com>
Date: Fri, 10 Oct 2014 11:30:13 +0400
From: "(GalaxyMaster)" <galaxy@...nwall.com>
To: owl-council@...ts.openwall.com
Cc: owl-dev@...ts.openwall.com
Subject: Re: [owl-cvs] Owl/packages/strace

Dmitry,

Have you tried to build that updated version against our current kernel
headers?  I am asking since I'm getting the following compilation error:
===
gcc -DHAVE_CONFIG_H -I.  -I./linux/x86_64 -I./linux -I./linux  -Wall -Wwrite-strings -pipe -O2 -fomit-frame-pointer -MT strace-fanotify.o -MD -MP -MF .deps/strace-fanotify.Tpo -c -o strace-fanotify.o `test -f 'fanotify.c' || echo './'`fanot
ify.c
In file included from fanotify.c:2:0:
./linux/fanotify.h:89:2: error: unknown type name '__aligned_u64'
make[3]: *** [strace-fanotify.o] Error 1
===

AFAICT, __aligned_u64 was introduced in 2.6.36 by the following commit:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=79b5dc0c64d88cda3da23b2e22a5cec0964372ac
===
commit 79b5dc0c64d88cda3da23b2e22a5cec0964372ac
Author: Eric Paris <eparis@...hat.com>
Date:   Fri Oct 15 14:34:14 2010 -0700

    types.h: define __aligned_u64 and expose to userspace
    
    We currently have a kernel internal type called aligned_u64 which aligns
    __u64's on 8 bytes boundaries even on systems which would normally align
    them on 4 byte boundaries.  This patch creates a new type __aligned_u64
    which does the same thing but which is exposed to userspace rather than
    being kernel internal.
    
    [akpm: merge early as both the net and audit trees want this]
===

and I think it was not backported to the 2.6.18 branch we are currently using.

Therefore, my question is how should we fix this if there is an issue?  For
example, we can just apply that patch since it's a very trivial patch to our
kernel package (this way strace will build on both old and new kernels).

P.S. strace currently is the only package that doesn't build in Owl-current.

On Sat, Aug 16, 2014 at 12:21:44PM +0400, Owl CVS (ldv) wrote:
> Update of /Owl/packages/strace
> 
> Modified Files:
> 	strace.spec 
> Log Message:
> Updated to 4.9

-- 
(GM)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.