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)
Feb 23 2024, 5:00 PM
Unknown Object (File)
Feb 23 2024, 1:31 AM
Unknown Object (File)
Dec 20 2023, 2:10 AM
Unknown Object (File)
Oct 22 2023, 10:58 AM
Unknown Object (File)
Sep 16 2023, 9:21 PM
Unknown Object (File)
Aug 31 2023, 5:40 AM
Unknown Object (File)
Jul 16 2023, 7:00 AM
Unknown Object (File)
Jun 29 2023, 11:38 AM

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.