Bug 291

Summary: CONFIG_DOMULTI causes build to fail
Product: uClibc Reporter: Gordon Schumacher <whiplash>
Component: OtherAssignee: unassigned
Status: RESOLVED WORKSFORME    
Severity: enhancement CC: uclibc-cvs
Priority: P5    
Version: 0.9.30.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: x86_64-pc-linux-gnu Target: i486-gentoo-linux-uclibc
Build: x86_64-pc-linux-gnu
Attachments: uclibc config file

Description Gordon Schumacher 2009-04-18 20:53:08 UTC
Created attachment 249 [details]
uclibc config file

With identical configurations, if CONFIG_DOMULTI is set the build fails with the following:

libc/misc/internals/__errno_location.c:10: warning: asm declaration ignored due to conflict with previous rename
libc/misc/internals/__errno_location.c:16: error: '__EI___errno_location' aliased to undefined symbol '__GI___errno_location'
In file included from libc/misc/sysvipc/semtimedop.c:8:
libc/misc/sysvipc/sem.c: In function 'semtimedop':
libc/misc/sysvipc/sem.c:102: warning: passing argument 6 of '__syscall_ipc' discards qualifiers from pointer target type
libc/stdio/popen.c:146:2: warning: #warning is pclose correct wrt the new mutex semantics?
libc/stdio/_stdio.c:195:2: warning: #warning check
In file included from libc/stdio/fflush_unlocked.c:9:
libc/stdio/fflush.c:101:2: warning: #warning fix for nonatomic
libc/stdio/fflush.c:102:2: warning: #warning unnecessary check if no threads
libc/signal/sigblock.c: At top level:
libc/signal/sigblock.c:28: warning: 'sigblock' is deprecated (declared at ./include/signal.h:179)
(lots more like last)


My configuration is attached.
Comment 1 Bernhard Reutner-Fischer 2009-06-03 19:01:31 UTC
First, i don't think that i386 and LINUXTHREADS.NEW play together nicely, do they?

Second, I'm absolutely sure that DOMULTI does not work with any plain gcc.
You may grab my gcc patches from my oldish buildroot repo ¹) as a start.

¹) http://repo.or.cz/w/buildroot.git