Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 386843

Summary: sys-devel/clang-2.9-r1 fails test PCH/cxx-typeid.cpp
Product: Gentoo Linux Reporter: Markus Walter <gentoo>
Component: [OLD] DevelopmentAssignee: Michał Górny <mgorny>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log bzipped
emerge --info

Description Markus Walter 2011-10-11 21:54:23 UTC
Created attachment 289615 [details]
build log bzipped

On my hardened ~amd64 machine with gcc-4.6.1 I see the following test failure for clang-2.9-r1. This is a different test failure than the other two, which are already reported. More exactly the test PCH/cxx-typeid.cpp fails with the following error.

FAIL: Clang :: PCH/cxx-typeid.cpp (1517 of 2918)
******************** TEST 'Clang :: PCH/cxx-typeid.cpp' FAILED ********************
Script:
--
/var/tmp/portage/sys-devel/clang-2.9-r1/work/llvm-2.9/Release/bin/clang  -include /var/tmp/portage/sys-devel/clang-2.9-r1/wor
k/llvm-2.9/tools/clang/test/PCH/cxx-typeid.h -fsyntax-only -Xclang -verify /var/tmp/portage/sys-devel/clang-2.9-r1/work/llvm-
2.9/tools/clang/test/PCH/cxx-typeid.cpp
/var/tmp/portage/sys-devel/clang-2.9-r1/work/llvm-2.9/Release/bin/clang  -ccc-pch-is-pch -x c++-header -o /var/tmp/portage/sys-devel/clang-2.9-r1/work/llvm-2.9/tools/clang/test/PCH/Output/cxx-typeid.cpp.tmp.gch /var/tmp/portage/sys-devel/clang-2.9-r1/work/llvm-2.9/tools/clang/test/PCH/cxx-typeid.h
/var/tmp/portage/sys-devel/clang-2.9-r1/work/llvm-2.9/Release/bin/clang  -ccc-pch-is-pch -include /var/tmp/portage/sys-devel/clang-2.9-r1/work/llvm-2.9/tools/clang/test/PCH/Output/cxx-typeid.cpp.tmp -fsyntax-only -Xclang -verify /var/tmp/portage/sys-devel/clang-2.9-r1/work/llvm-2.9/tools/clang/test/PCH/cxx-typeid.cpp
--
Exit Code: 1
Command Output (stderr):
--
1 error generated.
--

********************
Comment 1 Markus Walter 2011-10-11 21:54:37 UTC
Created attachment 289617 [details]
emerge --info
Comment 2 Magnus Granberg gentoo-dev 2011-10-11 22:35:47 UTC
Any PCH stuff don't work well with hardened kernel (RANDMMAP) even gcc PCH test
fail hard.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-06-17 08:10:24 UTC
Version long gone.