http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52194

             Bug #: 52194
           Summary: FAIL: gcc.dg/pch/common-1.c  -O0 -g -I. (internal
                    compiler error) on PaX enable kernels (RANDMMAP)
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: pch
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: zo...@gentoo.org


Running
/var/tmp/portage/sys-devel/gcc-4.7.0_alpha20120204/work/gcc-4.7-20120204/gcc/testsuite/gcc.dg/pch/pch.exp
...
FAIL: gcc.dg/pch/common-1.c  -O0 -g -I. (internal compiler error)
FAIL: gcc.dg/pch/common-1.c  -O0 -g -I. (test for excess errors)
FAIL: gcc.dg/pch/common-1.c  -O0 -g assembly comparison
FAIL: gcc.dg/pch/common-1.c   -O0  -I. (internal compiler error)
FAIL: gcc.dg/pch/common-1.c   -O0  -I. (test for excess errors)
FAIL: gcc.dg/pch/common-1.c   -O0  assembly comparison
FAIL: gcc.dg/pch/common-1.c   -O1  -I. (internal compiler error)
FAIL: gcc.dg/pch/common-1.c   -O1  -I. (test for excess errors)
FAIL: gcc.dg/pch/common-1.c   -O1  assembly comparison
FAIL: gcc.dg/pch/common-1.c   -O2  -I. (internal compiler error)
FAIL: gcc.dg/pch/common-1.c   -O2  -I. (test for excess errors)
FAIL: gcc.dg/pch/common-1.c   -O2  assembly comparison
FAIL: gcc.dg/pch/common-1.c   -O3 -fomit-frame-pointer  -I. (internal compiler
error)
FAIL: gcc.dg/pch/common-1.c   -O3 -fomit-frame-pointer  -I. (test for excess
errors)
FAIL: gcc.dg/pch/common-1.c   -O3 -fomit-frame-pointer  assembly comparison
FAIL: gcc.dg/pch/common-1.c   -O3 -g  -I. (internal compiler error)
FAIL: gcc.dg/pch/common-1.c   -O3 -g  -I. (test for excess errors)
FAIL: gcc.dg/pch/common-1.c   -O3 -g  assembly comparison
FAIL: gcc.dg/pch/common-1.c   -Os  -I. (internal compiler error)
FAIL: gcc.dg/pch/common-1.c   -Os  -I. (test for excess errors)
FAIL: gcc.dg/pch/common-1.c   -Os  assembly comparison

                === gcc Summary ===

# of expected passes            14
# of unexpected failures        21

Most pch test fails on PaX enable kernel with

CONFIG_PAX_ASLR=y
CONFIG_PAX_RANDUSTACK=y
CONFIG_PAX_RANDMMAP=y

Program received signal SIGSEGV, Segmentation fault.
linemap_location_from_macro_expansion_p (set=set@entry=0x2e0c3124000,
location=location@entry=22)
    at
/var/tmp/portage/sys-devel/gcc-4.7.0_alpha20120204/work/gcc-4.7-20120204/libcpp/line-map.c:775
775       linemap_assert (location <= MAX_SOURCE_LOCATION

Reply via email to