[Bug 191354] tools/regression/lib/libc/regex fails to link after xlocale changes done in 10.x+

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jun 25 23:13:34 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191354

--- Comment #2 from yaneurabeya at gmail.com ---
(In reply to David Chisnall from comment #1)
> It looks like it's including some private libc headers, but relying on
> private libc symbols.  Is it meant to run without linking to libc, or to
> test internal libc functionality?  If it's the former, it can probably be
> fixed by just adding the relevant locale files to the build.

I'm not entirely sure to be honest. I would think based on the sourcecode and
test inputs that it's largely blackbox testcases, but like you suggest it seems
to be accessing whitebox/graybox features/source.

I have some testcases from NetBSD which supplement this. I'll check and see
whether or not the NetBSD testcases are a super set of the FreeBSD regex/grot
testcases. If they are, then the code doesn't need to be fixed, and
lib/libc/regex/grot should probably be deorbited from the tree as it's
bitrotted code.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list