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

            Bug ID: 70150
           Summary: --enable-default-pie causes hundreds of errors in test
                    suite
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: psturm at computervoice dot com
  Target Milestone: ---

Created attachment 37902
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37902&action=edit
gcc6 --enable-default-pie causes hundreds of errors in test suite

When building GCC6 weekly snapshot 20160306 and adding the --enable-default-pie
to the configure script, hundreds of errors occur when running the test suite.

Platform is X86_64 on Intel Xeon D1540 "Broadwell"

Using glibc-2.23 with configure options:
    --prefix=/usr          \
    --disable-profile      \
    --enable-kernel=2.6.32 \
    --enable-obsolete-rpc \
    --enable-lock-elision=yes \
    --enable-stackguard-randomization \
    --enable-bind-now

Using binutils-2_26-branch with configure options:
                           --prefix=/usr   \
                           --enable-shared \
                           --disable-werror \
                           --disable-gdb \
                           --with-system-zlib

Using gcc-6-20160306 with configure options:
--prefix=/usr \
--enable-languages=c,c++ \
--disable-multilib \
--disable-bootstrap \
--with-system-zlib \
--disable-libmpx \
--disable-libstdcxx-pch \
--enable-default-pie \
--enable-checking=release

Attached is the test suite summary for gcc built with --enable-default-pie. The
build without --enable-default-pie but all other configuration options being
the same yielded only the 3 errors in PR ld/12365 of binutils 2.26 and these
are false positives. There were also 2 libstdc++ errors that are marked
"experimental" that occurred in both tests, so I am ignoring them.

Reply via email to