lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <kaq9nq$sot$1@ger.gmane.org>
Date:	Tue, 18 Dec 2012 17:39:06 +0000 (UTC)
From:	Akemi Yagi <amyagi@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] perf tools: Fix a misuse of for_each_set_bit() in
 session.c

On Mon, 27 Aug 2012 16:18:15 +0800, Feng Tang wrote:

> It's a compile error:
> 
> cc1: warnings being treated as errors util/session.c: In function
> ‘perf_session_deliver_event’: util/include/linux/bitops.h:104: error:
> dereferencing pointer ‘p’ does break strict-aliasing rules
> util/include/linux/bitops.h:96: error: dereferencing pointer ‘p’ does
> break strict-aliasing rules util/session.c:907: note: initialized from
> here util/include/linux/bitops.h:96: note: initialized from here make:
> *** [util/session.o] Error 1
> make: *** Waiting for unfinished jobs....
> 
> Casting the @mask to (void *) still sees the same error
> 
> Thanks,
> Feng

We (ELRepo) are seeing the same error while building kernel 3.7 for RHEL 
6.3 on a 32-bit system. The perf package would build fine if we run 
rpmbuild with the 'i686' target specified on a 64-bit system.

http://elrepo.org/bugs/view.php?id=335

Akemi

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ