Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2020 19:09:22 +0800
From:      Li-Wen Hsu <lwhsu@freebsd.org>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        Baptiste Daroussin <bapt@freebsd.org>, src-committers <src-committers@freebsd.org>,  svn-src-all <svn-src-all@freebsd.org>, svn-src-head <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r358062 - in head: contrib/ncurses contrib/ncurses/doc contrib/ncurses/doc/html contrib/ncurses/form contrib/ncurses/include contrib/ncurses/man contrib/ncurses/menu contrib/ncurses/mis...
Message-ID:  <CAKBkRUwMiF-19tLSVjBND%2Biu0_-HOne2rNAu_h-az8XAeWG4XA@mail.gmail.com>
In-Reply-To: <e0c77c84-9fe6-49a1-9edb-fcb0659cf3a9@FreeBSD.org>
References:  <202002180811.01I8BqEq001150@repo.freebsd.org> <e0c77c84-9fe6-49a1-9edb-fcb0659cf3a9@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 19, 2020 at 5:04 PM Dimitry Andric <dim@freebsd.org> wrote:
>
> On 2020-02-18 09:11, Baptiste Daroussin wrote:
> > Author: bapt
> > Date: Tue Feb 18 08:11:52 2020
> > New Revision: 358062
> > URL: https://svnweb.freebsd.org/changeset/base/358062
> >
> > Log:
> >    Update ncurses to 20200118
>
> Apparently this breaks the gcc builds, because it can't find the
> function "box" anymore:
>
> --- all_subdir_usr.bin/clang/lldb ---
> /usr/local/bin/x86_64-unknown-freebsd12.0-ld:
> /tmp/obj/workspace/src/amd64.amd64/lib/clang/liblldb/liblldb.a(IOHandler.o):
> in function `curses::Window::Box(unsigned int, unsigned int)':
> /workspace/src/contrib/llvm-project/lldb/source/Core/IOHandler.cpp:926:
> undefined reference to `box'
> /usr/local/bin/x86_64-unknown-freebsd12.0-ld:
> /workspace/src/contrib/llvm-project/lldb/source/Core/IOHandler.cpp:926:
> undefined reference to `box'
> collect2: error: ld returned 1 exit status
> *** [lldb.full] Error code 1
>
> See also: https://ci.freebsd.org/job/FreeBSD-head-amd64-gcc/13322/

For more information, currently the FreeBSD-head-amd64-gcc is using
amd64-gcc package via amd64-xtoolchain-gcc, which is 6.4
A test build with amd64-gcc6, which is 6.5, just completed and it's fine.
I haven't checked this failure is due to our code itself, gcc versions
or the difference in the configuration of two gcc ports.

I think I will create FreeBSD-head-amd64-gcc6 job uses newer and
preferred external tool chain, then the experimental ones like
FreeBSD-head-amd64-gcc9, 10 and llvm-devel.

Best,
Li-Wen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKBkRUwMiF-19tLSVjBND%2Biu0_-HOne2rNAu_h-az8XAeWG4XA>