This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH 2/2] Remove ancient GCC string inlines


> Joseph Myers wrote:
> On Mon, 12 Oct 2015, Wilco Dijkstra wrote:
> 
> > ../sysdeps/unix/sysv/linux/i386/sysdep.h:409:12: error: '__NR_set_thread_area' undeclared
> (first use
> > in this function)

> So, you need to find out why your compiler installation isn't finding an
> appropriate asm/unistd.h, and fix that problem.

It seems that the multilibs weren't properly installed somehow. With these it suddenly
started to work! Strange that configure doesn't check you've got the right headers and
report a meaningful error...

Sysdeps/string-inlines.c is indeed built on x86, so I have updated my patch to avoid
namespace issues on x86. The fails are (same set as before my patch):

build/glibc_x86/tests.sum:FAIL: c++-types-check
build/glibc_x86/tests.sum:FAIL: grp/testgrp
build/glibc_x86/tests.sum:FAIL: localedata/bug-iconv-trans
build/glibc_x86/tests.sum:FAIL: localedata/tst-wctype
build/glibc_x86/tests.sum:FAIL: localedata/tst_mblen
build/glibc_x86/tests.sum:FAIL: localedata/tst_mbrlen
build/glibc_x86/tests.sum:FAIL: localedata/tst_mbrtowc
build/glibc_x86/tests.sum:FAIL: localedata/tst_mbsrtowcs
build/glibc_x86/tests.sum:FAIL: localedata/tst_mbstowcs
build/glibc_x86/tests.sum:FAIL: localedata/tst_mbtowc
build/glibc_x86/tests.sum:FAIL: localedata/tst_swscanf
build/glibc_x86/tests.sum:FAIL: localedata/tst_wcrtomb
build/glibc_x86/tests.sum:FAIL: localedata/tst_wcsrtombs
build/glibc_x86/tests.sum:FAIL: localedata/tst_wcstombs
build/glibc_x86/tests.sum:FAIL: localedata/tst_wctob
build/glibc_x86/tests.sum:FAIL: localedata/tst_wctomb
build/glibc_x86/tests.sum:FAIL: posix/globtest

ChangeLog:
2015-10-12  Wilco Dijkstra  wdijkstr@arm.com

	* string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
	(__mempcpy_small): Likewise.
	(__strcpy_small): Likewise.
	(__stpcpy_small): Likewise.
	* string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
	(__mempcpy_small): Remove.
	(__strcpy_small): Remove.
	(__stpcpy_small): Remove.
	* sysdeps/i386/string-inlines.c: Include string/string-inlines.c.

Attachment: 0002-Move-inlines-to-string-inline.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]