On 28 May 2016 at 14:30, Mark Millard wrote:
> On 2016-May-28, at 12:03 PM, Adrian Chadd wrote:
>
>> [snip]
>>
>> hi,
>>
>> please don't patch the ports compiler assumptions about things like
>> this. We should be targeting external toolchains on OSes (eg macosx)
>> where it
On 5/28/2016 12:03 PM, Adrian Chadd wrote:
> [snip]
I beg of you to *stop* snipping all context.
>
> hi,
>
> please don't patch the ports compiler assumptions about things like
I said it was not right, and was an experiment.
> this. We should be targeting external toolchains on OSes (eg
On 2016-May-28, at 12:03 PM, Adrian Chadd wrote:
> [snip]
>
> hi,
>
> please don't patch the ports compiler assumptions about things like
> this. We should be targeting external toolchains on OSes (eg macosx)
> where it may already generate freebsd binaries and as such we should
> be calling
[snip]
hi,
please don't patch the ports compiler assumptions about things like
this. We should be targeting external toolchains on OSes (eg macosx)
where it may already generate freebsd binaries and as such we should
be calling the compiler/linker with all the flags it needs.
Having a patched
[Top post of failure to get rid of /usr/local/include from devel/powerpc64-gcc
search list.]
I have tried:
> # svnlite diff /usr/ports/devel/powerpc64-gcc/
> Index: /usr/ports/devel/powerpc64-gcc/Makefile
> ===
> ---
On 2016-May-27, at 7:04 PM, Mark Millard wrote:
> FYI. . .
>
> I expect that building gcc49 with:
>
> + --with-local-prefix=/usr \
>
> will help with system build activities via gcc49/g++49 by avoiding
> /usr/local/include interfering.
>
> But I also expect that various port
On 3/31/2016 8:33 PM, Mark Millard wrote:
> I appears that C++ needs its own override for where to find C++ header before
> looking in the gcc49 specific places.
Yes, the hacks for that are builtin already. Passing C_INCLUDE_PATH and
others may break it.
> These sorts of odd, hard to avoid
On 2016-Apr-2, at 3:59 PM, Mark Millard wrote:
> [My testing for the likes of the below does not yet extend outside powerpc64
> contexts.]
>
> For the likes of self-hosted powerpc64-xtoolchain-gcc/powerpc64-gcc use with,
> say, gcc49 materials as the so-called "host" compiler tools I have not
On Fri, Apr 1, 2016 at 2:25 AM, Dimitry Andric wrote:
> On 01 Apr 2016, at 00:44, Warner Losh wrote:
> >
> >> On Mar 31, 2016, at 4:34 PM, Bryan Drewery
> wrote:
> >> I didn't realize the ports compiler was defaulting /usr/local/include
On 01 Apr 2016, at 00:44, Warner Losh wrote:
>
>> On Mar 31, 2016, at 4:34 PM, Bryan Drewery wrote:
>> I didn't realize the ports compiler was defaulting /usr/local/include
>> into the search path now. It does not have /usr/local/lib in the
>> default
On 2016-Mar-31, at 8:14 PM, Mark Millard wrote:
>
> On 2016-Mar-31, at 5:02 PM, Bryan Drewery wrote:
>
>> This should be fine with my fix too.
>>
>> Trying add this to your make.conf for now:
>>
>> CFLAGS.gcc+= -isystem /usr/include
>
> [Context note: I normally use:
>
>>
On 2016-Mar-31, at 5:02 PM, Bryan Drewery wrote:
> This should be fine with my fix too.
>
> Trying add this to your make.conf for now:
>
> CFLAGS.gcc+= -isystem /usr/include
[Context note: I normally use:
> WITHOUT_CROSS_COMPILER=
> #
> WITH_FAST_DEPEND=
> WITH_LIBCPLUSPLUS=
> WITH_BOOT=
>
> On Mar 31, 2016, at 4:34 PM, Bryan Drewery wrote:
> I didn't realize the ports compiler was defaulting /usr/local/include
> into the search path now. It does not have /usr/local/lib in the
> default library path as far as I can tell. It's also broken for its
> -rpath
On 3/31/16 3:02 PM, Mark Millard wrote:
>> > We likely just need to prioritize /usr/include over /usr/local/include
>> > for these phases, which gcc49 may have backwards since it has its prefix
>> > set to /usr/local from the ports build.
Yup this is the problem with using the ports compiler as
> On 2016-Mar-31, at 2:32 PM, Bryan Drewery wrote:
>
> On 3/31/16 2:23 PM, Mark Millard wrote:
>> I use the likes of:
>>
# diff -rq /usr/include /usr/local/include | grep "^Files "
>> to find what to rename for the duration of the system builds.
>>
>> An example of what happens without
On 3/31/16 2:23 PM, Mark Millard wrote:
> I use the likes of:
>
>> > # diff -rq /usr/include /usr/local/include | grep "^Files "
> to find what to rename for the duration of the system builds.
>
> An example of what happens without the renames is below but I first note the
> use of the name
Recent changes have been trying to make things like
powerpc64-xtoolchain-gcc/powerpc64-gcc work better for buildworld/buildkernel.
I happen to do this on a powerpc64 context so the "cross build" is actually
self-hosted. No gcc 4.2.1 is present and clang 3.8.0 and before have code
generation
On 3/31/16 2:23 PM, Mark Millard wrote:
> Should there be xtoolchain usage notes about avoiding /usr/local/include name
> conflicts and/or about how to assign CC/CXX/XCC/XCXX?
>
> As long as I use gcc49 tools for CC and CXX I still must do things like
> renaming files in /usr/local/include to
18 matches
Mail list logo