public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/64839] New: libsanitizer shouldn't require <rpc/xdr.h>
@ 2015-01-28 14:50 harald at gigawatt dot nl
  2015-01-29 14:49 ` [Bug sanitizer/64839] " harald at gigawatt dot nl
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: harald at gigawatt dot nl @ 2015-01-28 14:50 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64839
           Summary: libsanitizer shouldn't require <rpc/xdr.h>
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: harald at gigawatt dot nl
                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

glibc stopped installing rpc headers by default back in 2011: versions 2.14 and
2.15 never install them, versions 2.16 and higher require the configuration
option --enable-obsolete-rpc. Most distros still install the headers for
backwards compatibility, but on systems that use default glibc, building
libsanitizer, and thus GCC, fails with

   
../../../../gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:134:21:
fatal error: rpc/xdr.h: No such file or directory

Given that libsanitizer doesn't actually use anything from the header other
than as a sanity check, the build shouldn't fail if the header is missing.

GCC is configured with

  ../gcc/configure --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
--prefix=$HOME/gcc-run --enable-languages=c,c++

and re-checked today with sources from:

  commit 31aebeec4f215f444c96c0dbc333c4eff3f7809a
  Author: ienkovich <ienkovich@138bc75d-0d04-0410-961f-82ee72b054a4>
  Date:   Wed Jan 28 11:46:44 2015 +0000

Version 4.9.2 builds just fine.


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

end of thread, other threads:[~2015-05-12 11:57 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-28 14:50 [Bug sanitizer/64839] New: libsanitizer shouldn't require <rpc/xdr.h> harald at gigawatt dot nl
2015-01-29 14:49 ` [Bug sanitizer/64839] " harald at gigawatt dot nl
2015-02-10  6:54 ` pinskia at gcc dot gnu.org
2015-03-30 15:41 ` y.gribov at samsung dot com
2015-04-09  8:14 ` y.gribov at samsung dot com
2015-04-10  7:53 ` y.gribov at samsung dot com
2015-04-10  8:04 ` jakub at gcc dot gnu.org
2015-04-13  9:00 ` ygribov at gcc dot gnu.org
2015-04-13 10:23 ` jakub at gcc dot gnu.org
2015-05-07 13:04 ` thierry.reding at gmail dot com
2015-05-09  5:46 ` y.gribov at samsung dot com
2015-05-09  8:36 ` harald at gigawatt dot nl
2015-05-09  8:39 ` y.gribov at samsung dot com
2015-05-12  7:02 ` ygribov at gcc dot gnu.org
2015-05-12 10:42 ` thierry.reding at gmail dot com
2015-05-12 10:44 ` y.gribov at samsung dot com
2015-05-12 11:09 ` geoff at geoff dot codes
2015-05-12 11:31 ` y.gribov at samsung dot com
2015-05-12 11:57 ` geoff at geoff dot codes

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).