Page MenuHomeFreeBSD

Make native-xtools build correctly after clang/llvm 3.9.0 import
ClosedPublic

Authored by dim on Jan 2 2017, 5:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 28, 8:21 AM
Unknown Object (File)
Sun, Nov 24, 12:35 AM
Unknown Object (File)
Nov 21 2024, 11:04 AM
Unknown Object (File)
Nov 21 2024, 11:04 AM
Unknown Object (File)
Nov 19 2024, 9:25 AM
Unknown Object (File)
Nov 18 2024, 12:00 AM
Unknown Object (File)
Nov 17 2024, 10:52 PM
Unknown Object (File)
Nov 17 2024, 4:34 PM

Details

Summary

During the clang/llvm 3.9.0 import, the build structure for it was
completely revamped. This broke the native-xtools target.

It first attempts to build libllvmminimal, then the llvm-tblgen and
clang-tblgen executables, but these fail to link because they are linked
to the 'full' libllvm by default, as they normally are during the
'world' stage.

To make these link against libllvmminimal instead, define TOOLS_PREFIX,
similarly as during the bootstrap-tools phase. The value itself is
empty, as we don't really want to use a prefix.

PR: 215684

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dim retitled this revision from to Make native-xtools build correctly after clang/llvm 3.9.0 import.
dim updated this object.
dim edited the test plan for this revision. (Show Details)
dim added reviewers: bdrewery, bapt, emaste.
dim added a subscriber: sylvain_sylvaingarrigues.com.
imp added a reviewer: imp.

Seems reasonable to me.

This revision is now accepted and ready to land.Jan 2 2017, 6:27 PM
This revision was automatically updated to reflect the committed changes.