The global variable glob clashes with the compatibility NetBSD libc function with the same name. The linker emits a warning that causes the test case to fail. The included patch renames glob to Glob in both tests
-- Summary: Linker warning causing tests to fail (960218 and 20030913) Product: gcc Version: 4.3.3 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: testsuite AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: aran at 100acres dot us GCC build triplet: i386-unknown-netbsdelf5.99.7 GCC host triplet: i386-unknown-netbsdelf5.99.7 GCC target triplet: i386-unknown-netbsdelf5.99.7 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39353