Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 461270 - Consolidate cmake llvm/clang issue list for alexxy ;)
Summary: Consolidate cmake llvm/clang issue list for alexxy ;)
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexey Shvetsov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 456322
  Show dependency tree
 
Reported: 2013-03-10 15:10 UTC by Michał Górny
Modified: 2015-06-07 21:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-03-10 15:10:32 UTC
From the top of my head:

LLVM:
- lack of udis86 support (optional dep),
- bundled libgtest installed (for now, i'm just removing it in src_install),
- circa 3 test failures (none with autoconf),
- no support for building ocaml bindings [thought i'll probably split them into separate package and find a way to build somehow then, just haven't got time to look into it yet],
- installed cmake modules refer to the build-dir (/var/tmp/portage/.../llvm...).

compiler-rt:
- needs to be built from llvm sources (needs to be fixed upstream),
- enabling tests and compiler-rt on llvm at the same time requires clang, and symlinking clang into the build tree causes -Werror-like build failures).

clang:
- [old issue] looks for some of its files during runtime (gold? libs? i don't remember) in 'lib' rather than $(get_libdir),
- builds clang-tblgen in LLVM temporary build-dir stored in the cmake modules -> wreaks havoc if you build llvm & clang at the same time,
- i haven't checked the test suite yet.

That's what I can recall right now :P.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-03-10 19:34:08 UTC
New issues:

llvm:
- FileCheck is installed with insecure RUNPATH (it's installed by hand so probably necessary to make cmake install them).

clang:
- a lot of test failures after enabling tests.
Comment 2 Bernard Cafarelli gentoo-dev 2013-03-14 09:10:51 UTC
FileCheck is used in tests for dragonegg (bug #445680)
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-03-14 16:17:37 UTC
(In reply to comment #2)
> FileCheck is used in tests for dragonegg (bug #445680)

clang uses it too. That's why I added it to the ebuild. The issue is that it probably needs to be installed using cmake rather than by hand.