Re: powerpc and powerpc64 builds broken

From: Justin Hibbits <jhibbits_at_freebsd.org>
Date: Sun, 28 Jun 2015 12:09:25 -0700
On Sun, Jun 28, 2015 at 11:36 AM, Garrett Cooper <yaneurabeya_at_gmail.com> wrote:
>
>> On Jun 28, 2015, at 10:48, Justin Hibbits <jhibbits_at_freebsd.org> wrote:
>>
>> Both powerpc and powerpc64 builds are broken in the same way, in
>> usr.bin/mkesdb.  It was working correctly as of just before BSDCan, I
>> successfully built world and kernel on June 6.
>>
>> The error seen at this point is:
>>
>> cc  -O2 -pipe   -I/home/chmeee/freebsd/head/usr.bin/mkesdb
>> -I/home/chmeee/freebsd/head/usr.bin/mkesdb/../mkesdb
>> -I/home/chmeee/freebsd/head/usr.bin/mkesdb/../../lib/libc/iconv
>> -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall
>> -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
>> -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
>> -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align
>> -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
>> -Wold-style-definition -Wno-pointer-sign
>> -L/home/chmeee/world/zhabar/home/chmeee/freebsd/head/usr.bin/mkesdb/../../lib/libc
>> -o mkesdb lex.o yacc.o
>> /home/chmeee/world/zhabar/home/chmeee/freebsd/head/tmp/usr/bin/ld:
>> undefined reference to symbol `_end' (try adding -lc)
>> /home/chmeee/world/zhabar/home/chmeee/freebsd/head/tmp/lib/libc.so.7:
>> could not read symbols: Bad value
>>
>> I've seen this both locally on my G5, and on the Power8 in the FreeBSD cluster.
>
> - What does file say when you run it on libc.so.7?

/usr/obj/usr/src/lib/libc/libc.so.7: ELF 64-bit MSB shared object,
64-bit PowerPC or cisco 7500, version 1 (FreeBSD), dynamically linked,
not stripped

> - What's your current revision?

r284893

> - Does it work when SRCCONF/__MAKECONF are set to /dev/null?

No, the problem remains.

>
> Thanks!

- Justin
Received on Sun Jun 28 2015 - 17:09:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:58 UTC