Hi there,

Re: https://lists.freebsd.org/pipermail/svn-src-head/2016-October/092694.html

In a rebuild of stable/11 today (and yesterday), the build stops in 
lib/libc/tests/stdlib:

/usr/src/lib/libc/tests/stdlib/tsearch_test.c:37:20: error: unknown type name 
'posix_tnode'
tnode_assert(const posix_tnode *n)
                   ^
/usr/src/lib/libc/tests/stdlib/tsearch_test.c:82:2: error: use of undeclared 
identifier 'posix_tnode'
        posix_tnode *root = NULL;
        ^
/usr/src/lib/libc/tests/stdlib/tsearch_test.c:82:15: error: use of undeclared 
identifier 'root'
        posix_tnode *root = NULL;
                     ^
/usr/src/lib/libc/tests/stdlib/tsearch_test.c:89:30: error: use of undeclared 
identifier 'root'
                                ATF_CHECK(tdelete(&key, &root, compar) != NULL);

etc

This commit seems related, although I wonder if something else is going on with 
the build?

I would expect that make buildworld in /usr/src would use /usr/src/include, 
instead of the system one, but this failure seems to relate to the use of the 
system /usr/include/search.h (which doesn't include the change above) instead 
of /usr/src/include/search.h, which does.

When the buildworld started, there was a comment to the effect that the system 
clang looked to be the same as the source clang, so it would use that instead.  
Is clang somehow hanging onto the system include directories, when it shouldn't?

After copying /usr/src/include/search.h to /usr/include and restarting make 
buildworld, the lib/libc/tests/stdlib (all) passes OK...

Cheers,

-- 
Andrew Reilly

_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to