public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/63646] New: libsanitizer fails to build for AARCH64:ILP32
@ 2014-10-26  2:29 pinskia at gcc dot gnu.org
  2014-10-26  5:59 ` [Bug sanitizer/63646] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-10-26  2:29 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63646

            Bug ID: 63646
           Summary: libsanitizer fails to build for AARCH64:ILP32
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
                CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
                    jakub at gcc dot gnu.org, kcc at gcc dot gnu.org
            Target: aarch64-linux-gnu

In file included from
/home/pinskia/src/toolchain/scripts/../src/libsanitizer/sanitizer_common/sanitizer_allocator.h:16:0,
                 from
/home/pinskia/src/toolchain/scripts/../src/libsanitizer/sanitizer_common/sanitizer_allocator.cc:12:
/home/pinskia/src/toolchain/scripts/../src/libsanitizer/sanitizer_common/sanitizer_common.h:561:64:
error: ‘operator new’ takes type ‘size_t’ (‘long unsigned int’) as first
parameter [-fpermissive]
                           __sanitizer::LowLevelAllocator &alloc) {
                                                                ^
In file included from
/home/pinskia/src/toolchain/scripts/../src/libsanitizer/sanitizer_common/sanitizer_common_libcdep.cc:12:0:
/home/pinskia/src/toolchain/scripts/../src/libsanitizer/sanitizer_common/sanitizer_common.h:561:64:
error: ‘operator new’ takes type ‘size_t’ (‘long unsigned int’) as first
parameter [-fpermissive]
                           __sanitizer::LowLevelAllocator &alloc) {
                                                                ^
In file included from
/home/pinskia/src/toolchain/scripts/../src/libsanitizer/sanitizer_common/sanitizer_allocator.h:16:0,
                 from
/home/pinskia/src/toolchain/scripts/../src/libsanitizer/sanitizer_common/sanitizer_allocator_internal.h:15,
                 from
/home/pinskia/src/toolchain/scripts/../src/libsanitizer/sanitizer_common/sanitizer_coverage_libcdep.cc:33:
/home/pinskia/src/toolchain/scripts/../src/libsanitizer/sanitizer_common/sanitizer_common.h:561:64:
error: ‘operator new’ takes type ‘size_t’ (‘long unsigned int’) as first
parameter [-fpermissive]
                           __sanitizer::LowLevelAllocator &alloc) {
                                                                ^
make[9]: *** [sanitizer_common.lo] Error 1
>From gcc-bugs-return-464990-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 26 02:29:03 2014
Return-Path: <gcc-bugs-return-464990-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13870 invoked by alias); 26 Oct 2014 02:29:01 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 13748 invoked by uid 48); 26 Oct 2014 02:28:47 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/63646] libsanitizer fails to build for AARCH64:ILP32
Date: Sun, 26 Oct 2014 04:30:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: sanitizer
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-63646-4-HCgII5IQgq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63646-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63646-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-10/txt/msg02011.txt.bz2
Content-length: 186

https://gcc.gnu.org/bugzilla/show_bug.cgi?idc646

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I have a patch but I can only submit it to GCC for legal reasons.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug sanitizer/63646] libsanitizer fails to build for AARCH64:ILP32
  2014-10-26  2:29 [Bug sanitizer/63646] New: libsanitizer fails to build for AARCH64:ILP32 pinskia at gcc dot gnu.org
@ 2014-10-26  5:59 ` pinskia at gcc dot gnu.org
  2014-10-26  7:13 ` pinskia at gcc dot gnu.org
  2014-10-27 11:02 ` y.gribov at samsung dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-10-26  5:59 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63646

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The following types I don't have a fix for yet:
__sanitizer_shmid_ds
__sanitizer___kernel_fd_set
__sanitizer_sigset_t/__sanitizer_kernel_sigset_t

__sanitizer_kernel_sigaction_t


Really I think sanitizer should be auto-generating this header rather than
having its own copy.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug sanitizer/63646] libsanitizer fails to build for AARCH64:ILP32
  2014-10-26  2:29 [Bug sanitizer/63646] New: libsanitizer fails to build for AARCH64:ILP32 pinskia at gcc dot gnu.org
  2014-10-26  5:59 ` [Bug sanitizer/63646] " pinskia at gcc dot gnu.org
@ 2014-10-26  7:13 ` pinskia at gcc dot gnu.org
  2014-10-27 11:02 ` y.gribov at samsung dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-10-26  7:13 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63646

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Actually I am not going to work on this mess.  That is what libsanitizer when
it comes to system calls.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug sanitizer/63646] libsanitizer fails to build for AARCH64:ILP32
  2014-10-26  2:29 [Bug sanitizer/63646] New: libsanitizer fails to build for AARCH64:ILP32 pinskia at gcc dot gnu.org
  2014-10-26  5:59 ` [Bug sanitizer/63646] " pinskia at gcc dot gnu.org
  2014-10-26  7:13 ` pinskia at gcc dot gnu.org
@ 2014-10-27 11:02 ` y.gribov at samsung dot com
  2 siblings, 0 replies; 4+ messages in thread
From: y.gribov at samsung dot com @ 2014-10-27 11:02 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63646

Yury Gribov <y.gribov at samsung dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |y.gribov at samsung dot com

--- Comment #4 from Yury Gribov <y.gribov at samsung dot com> ---
(In reply to Andrew Pinski from comment #2)
> Really I think sanitizer should be auto-generating this header rather than
> having its own copy.

People keep mentioning this but Asan team never seemed to bother.  Actually
missing symbols is not the biggest problems because they at least manifest
themselves at build time.  Have a look at bunch of lovely magic constants with
interspersing ifdefs all over the place in sanitizer_platform_limits_posix.h. 
Debugging type mismatch issues at runtime is so fun.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-10-27 10:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-26  2:29 [Bug sanitizer/63646] New: libsanitizer fails to build for AARCH64:ILP32 pinskia at gcc dot gnu.org
2014-10-26  5:59 ` [Bug sanitizer/63646] " pinskia at gcc dot gnu.org
2014-10-26  7:13 ` pinskia at gcc dot gnu.org
2014-10-27 11:02 ` y.gribov at samsung dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).