[LLVMbugs] [Bug 14327] New: MultiSource/Benchmarks/MiBench/network-patricia/patricia_test including soon to be obsolete rpc/rpc.h

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Nov 13 11:29:45 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=14327

             Bug #: 14327
           Summary: MultiSource/Benchmarks/MiBench/network-patricia/patric
                    ia_test including soon to be obsolete rpc/rpc.h
           Product: Test Suite
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Programs Tests
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: bkirby at mips.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9531
  --> http://llvm.org/bugs/attachment.cgi?id=9531
Patch to fix network-partricia

I'm testing LLVM with a recent version of glibc and GCC which wasn't configured
with the --enable-obsolete-rpc option and I found that the
MultiSource/Benchmarks/MiBench/network-patricia/patricia_test wouldn't pass. 
It is trying to include rpc/rpc.h, and fails to build the control binary with
GCC when it can't find it.  It doesn't look like it needs it for the test to
pass, though.  

I've attached a simple patch to fix the test case which just removes the
include line.  I compared the output with the reference data and it still
matches.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list