This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author shakur shams Mullick
Recipients shakur shams Mullick
Date 2016-03-10.20:02:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1457640165.38.0.124294976796.issue26532@psf.upfronthosting.co.za>
In-reply-to
Content
After configuring with address sanitizer like this:

$ ./configure --with-address-sanitizer --disable-ipv6

build fails when:
$make

gcc -pthread -c -fsanitize=address -fno-omit-frame-pointer  -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes    -Werror=declaration-after-statement   -I. -IInclude -I./Include    -DPy_BUILD_CORE -o Objects/obmalloc.o Objects/obmalloc.c
In file included from /usr/include/features.h:364:0,
                 from /usr/include/limits.h:25,
                 from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:168,
                 from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:34,
                 from Include/Python.h:11,
                 from Objects/obmalloc.c:1:
Objects/obmalloc.c: In function ‘_PyObject_Realloc’:
/usr/include/x86_64-linux-gnu/bits/string3.h:50:1: error: inlining failed in call to always_inline ‘memcpy’: function attribute mismatch
 __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
 ^
Objects/obmalloc.c:1668:13: error: called from here
             memcpy(bp, p, size);
             ^
Makefile:1538: recipe for target 'Objects/obmalloc.o' failed
make: *** [Objects/obmalloc.o] Error 1
History
Date User Action Args
2016-03-10 20:02:45shakur shams Mullicksetrecipients: + shakur shams Mullick
2016-03-10 20:02:45shakur shams Mullicksetmessageid: <1457640165.38.0.124294976796.issue26532@psf.upfronthosting.co.za>
2016-03-10 20:02:45shakur shams Mullicklinkissue26532 messages
2016-03-10 20:02:44shakur shams Mullickcreate