<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/Makefile.libcompat, branch upstream/11.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F11.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F11.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2016-07-27T05:38:09Z</updated>
<entry>
<title>MFC r303274:</title>
<updated>2016-07-27T05:38:09Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2016-07-27T05:38:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=20528c390f9f1999f88d3c7eefb8ef97158e3a9e'/>
<id>urn:sha1:20528c390f9f1999f88d3c7eefb8ef97158e3a9e</id>
<content type='text'>
  Don't disable binutils/elftoolchain bootstrapping with external compiler.

Approved by:	re (kib)
</content>
</entry>
<entry>
<title>WITH_SYSTEM_COMPILER: Avoid using GCC4.8+ logic on native GCC4.2 platforms.</title>
<updated>2016-06-29T01:50:30Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2016-06-29T01:50:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=48413367ef81450140b6a3a8fb2db6807100b862'/>
<id>urn:sha1:48413367ef81450140b6a3a8fb2db6807100b862</id>
<content type='text'>
As the XXX notes, these should really be checking MK_GNUCXX since there is
already a version check in share/mk/src.opts.mk to disable it.  Fixing that
here is more complex though.  This could also be using X_COMPILER_FEATURES
but uses X_COMPILER_VERSION to keep in sync with the src.opts.mk logic.

Tested by:	andreast
Sponsored by:	EMC / Isilon Storage Division
Approved by:	re (gjb)
</content>
</entry>
<entry>
<title>Fix native powerpc64 build of lib32 with in-tree GCC.</title>
<updated>2016-06-15T23:58:03Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2016-06-15T23:58:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=07394091841ffac046b44b946254f6f8beb31adc'/>
<id>urn:sha1:07394091841ffac046b44b946254f6f8beb31adc</id>
<content type='text'>
- This was broken by r300350 and r300885.
- Add some comments around the external GCC logic since it is spread out
  and in need of some cleanup.
- The problem was that X_COMPILER_TYPE is always defined from CC-&gt;XCC's
  default, so if /usr/bin/cc is GCC (as it is on native powerpc64) then
  X_COMPILER_TYPE was getting GCC and triggering the external logic in
  Makefile.libcompat.  It was intended to always provide -isystem with
  GCC since --sysroot is used into the lib32 sysroot which won't modify
  the header path without the -isystem.  The use of the libc++/std=c++11
  override was only intended to be used for external compilers though
  (more accurately GCC 4.8+ but that's a separate assumption to
  cleanup).  Apply the same logic from Makefile.inc1 to Makefile.libcompat
  to only add the libc++ override when needed for external compilers.

Pointyhat to:	bdrewery
Tested with:	native ppc64 (swills), universe, ppc64 xtoolchain,
		amd64 xtoolchain, sparc64 cross-build of ppc64 (host GCC 4.2)
Reported by:	andreast, swills
Approved by:	re (gjb)
Sponsored by:	EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>Use -L to specify compat32 library paths instead of -Y</title>
<updated>2016-06-09T17:03:03Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2016-06-09T17:03:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dfaedbb2c93c7f4c9f9b968918956111e2bd821c'/>
<id>urn:sha1:dfaedbb2c93c7f4c9f9b968918956111e2bd821c</id>
<content type='text'>
-Y is an uncommon linker option that is rather similar to -L.  In
discussion with Peter it seems early amd64 development might have
required the -Y-specific behaviour, but it is no longer necessary.

Switch to -L which is more widely supported and much more commonly
used, to make it easier to link the FreeBSD base system with linkers
other than ld.bfd.

Submitted by:	Rafael Ávila de Espíndola
Differential Revision:	https://reviews.freebsd.org/D6681
</content>
</entry>
<entry>
<title>Libcompat: Swap CXX/CFLAGS.</title>
<updated>2016-05-29T06:20:36Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2016-05-29T06:20:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=76c5029cdfe12a83a99cb0e64680b228199cee12'/>
<id>urn:sha1:76c5029cdfe12a83a99cb0e64680b228199cee12</id>
<content type='text'>
This is the same as done for the native build in r300770 to ensure that
the libc++ build reads from SYSROOT/usr/include/c++/v1 before reading
from SYSROOT/usr/include.
</content>
</entry>
<entry>
<title>GCC External: Revert r300886, r300904, r300917, r300918</title>
<updated>2016-05-29T06:20:15Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2016-05-29T06:20:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f661dbee816b5fc7b1b9f6d4486ada609921ad59'/>
<id>urn:sha1:f661dbee816b5fc7b1b9f6d4486ada609921ad59</id>
<content type='text'>
The fix in r300873 is mostly enough.  A fix for lib32 will be
committed.separately.
</content>
</entry>
<entry>
<title>Libcompat: Set build tools in environment rather than make overrides.</title>
<updated>2016-05-29T01:45:15Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2016-05-29T01:45:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=83e0f7db611746f32abf9363cd47050619422f60'/>
<id>urn:sha1:83e0f7db611746f32abf9363cd47050619422f60</id>
<content type='text'>
This allows the CXX hack in r300917 for external GCC to work for
the lib32 build.  It is also the same pattern as the native
build uses by adding the tools into CROSSENV for external
toolchain, rather than make overrides.

Sponsored by:	EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>Move external GCC compiler hacks to bsd.sys.mk.</title>
<updated>2016-05-27T23:03:44Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2016-05-27T23:03:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ce00342bb2a88f771068f24162bbf820f01e6bf0'/>
<id>urn:sha1:ce00342bb2a88f771068f24162bbf820f01e6bf0</id>
<content type='text'>
This allows respecting -nostdinc, -nostdinc++ and -nostdlib before
making the decision to add in -isystem, etc.  The -isystem flags
are problematic for building lib/libc++ and lib/libcxxrt which wants
to only use its own headers.

More information the need of these flags can be found at
https://gcc.gnu.org/ml/gcc/2016-03/msg00219.html

This also reverts r300873.

Sponsored by:	EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>Libcompat: Only pass -isystem =/usr/include for external GCC.</title>
<updated>2016-05-27T23:03:28Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2016-05-27T23:03:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=47873c16d3c25ea1be4c426dafb013703a305e3f'/>
<id>urn:sha1:47873c16d3c25ea1be4c426dafb013703a305e3f</id>
<content type='text'>
This is the same as the main build logic.  GCC with a cross-compiler
requires using -isystem to =/usr/include to get the search order
correct.

Reported by:	dim, asomers
Sponsored by:	EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>Set CPP from XCPP for the libcompat build.</title>
<updated>2016-04-15T18:32:05Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2016-04-15T18:32:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=83f290755088ae7a0168cc4e41cf746d09684cf6'/>
<id>urn:sha1:83f290755088ae7a0168cc4e41cf746d09684cf6</id>
<content type='text'>
Submitted by:	Mark Millard &lt;markmi@dsl-only.net&gt;
</content>
</entry>
</feed>
