Re: building head -r338675 with devel/amd64-gcc: /usr/local/x86_64-unknown-freebsd12.0/bin/ld: warning: -z ifunc-noplt ignored

2018-09-22 Thread Rebecca Cran via freebsd-toolchain
On 9/21/18 10:10 PM, Rebecca Cran wrote:

> On 9/21/18 10:00 PM, Warner Losh wrote:
>
>> That may be the issue... Does the patch I included help? I'm building now
>> on my stable system, but it's slow...
>
> It does seem to have got further this time, so a cautious yes.


I can change that to a definite yes:


>>> World build completed on Fri Sep 21 22:48:30 MDT 2018


-- 
Rebecca

___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


Re: building head -r338675 with devel/amd64-gcc: /usr/local/x86_64-unknown-freebsd12.0/bin/ld: warning: -z ifunc-noplt ignored

2018-09-21 Thread Rebecca Cran via freebsd-toolchain
On 9/21/18 10:00 PM, Warner Losh wrote:

> That may be the issue... Does the patch I included help? I'm building now
> on my stable system, but it's slow...


It does seem to have got further this time, so a cautious yes.


-- 
Rebecca

___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


Re: building head -r338675 with devel/amd64-gcc: /usr/local/x86_64-unknown-freebsd12.0/bin/ld: warning: -z ifunc-noplt ignored

2018-09-21 Thread Rebecca Cran via freebsd-toolchain
On 9/21/18 9:57 PM, Warner Losh wrote:

> Hmmm, what does make -V LINKER_TYPE and make -V LINKER_FEATURES say?
>
> They look good for me, but the only way you get this error is if they
> are wrong.


bcran@cube:~/workspace/freebsd % make -V LINKER_TYPE
bfd

bcran@cube:~/workspace/freebsd % make -V LINKER_FEATURES
 filter


-- 
Rebecca

___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


Re: building head -r338675 with devel/amd64-gcc: /usr/local/x86_64-unknown-freebsd12.0/bin/ld: warning: -z ifunc-noplt ignored

2018-09-21 Thread Rebecca Cran via freebsd-toolchain
On 9/21/18 9:34 PM, Warner Losh wrote:

> What does ld.lld say? 
>
> However, it shouldn't matter: we don't build libc until *AFTER* we
> build ld.lld, so this error is bogusly triggering. I suspect that it
> needs to be limited to only building targets, since tree traversal
> ones, as well as install targets don't have this dependency.


LLD 6.0.0 (FreeBSD 326565-111) (compatible with GNU linkers)


-- 
Rebecca

___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


Re: building head -r338675 with devel/amd64-gcc: /usr/local/x86_64-unknown-freebsd12.0/bin/ld: warning: -z ifunc-noplt ignored

2018-09-21 Thread Rebecca Cran via freebsd-toolchain
On 9/21/18 9:35 PM, Warner Losh wrote:
>
> I meant to add, can you give a few lines before the error is spewed
> here in email? My IRC computer died before I could see any answers
> there...
>
> My 11.2-stable system has 6.0.1, so I can't test from there.


I've uploaded the full 'buildworld' output to
https://bluestop.org/files/typescript.txt .


-- 

Rebecca

___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


Re: building head -r338675 with devel/amd64-gcc: /usr/local/x86_64-unknown-freebsd12.0/bin/ld: warning: -z ifunc-noplt ignored

2018-09-21 Thread Rebecca Cran via freebsd-toolchain
On 9/21/18 9:09 PM, Warner Losh wrote:

> On Fri, Sep 21, 2018 at 9:02 PM Rebecca Cran via freebsd-toolchain <
> freebsd-toolchain@freebsd.org> wrote:
>
>> On 9/21/18 4:06 PM, Mark Johnston wrote:
>>> https://reviews.freebsd.org/D17279 for anyone else that would like to
>>> review.
>>
>> Is that possibly related to the error I'm getting trying to build
>> -CURRENT on 11.2?
>>
>>
>> make[4]: "/usr/home/bcran/workspace/freebsd/lib/libc/Makefile" line 26:
>> amd64 libc requires linker ifunc support
>>
> Yea, that should absolutely work. If it doesn't, that's a big big problem.


I see, it was introduced earlier today in lib/libc/Makefile:


commit ef8030831eccec4e481a1766fc1c67f7cadadac9
Author: emaste 
Date:   Fri Sep 21 17:49:37 2018 +

    libc: require ifunc-capable linker for amd64/i386
   
    We expect to introduce optimized libc routines in the near future,
    which requires use of a linker that supports ifuncs.
   
    Approved by:    re (gjb, kib)
    Sponsored by:   The FreeBSD Foundation


And /usr/bin/ld -v on my 11.2 system says:


GNU ld 2.17.50 [FreeBSD] 2007-07-03


-- 
Rebecca

___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


Re: building head -r338675 with devel/amd64-gcc: /usr/local/x86_64-unknown-freebsd12.0/bin/ld: warning: -z ifunc-noplt ignored

2018-09-21 Thread Rebecca Cran via freebsd-toolchain
On 9/21/18 4:06 PM, Mark Johnston wrote:
>
> https://reviews.freebsd.org/D17279 for anyone else that would like to
> review.


Is that possibly related to the error I'm getting trying to build
-CURRENT on 11.2?


make[4]: "/usr/home/bcran/workspace/freebsd/lib/libc/Makefile" line 26:
amd64 libc requires linker ifunc support

-- 
Rebecca

___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"