Bug 291 - CONFIG_DOMULTI causes build to fail
Summary: CONFIG_DOMULTI causes build to fail
Status: RESOLVED WORKSFORME
Alias: None
Product: uClibc
Classification: Unclassified
Component: Other (show other bugs)
Version: 0.9.30.1
Hardware: PC Linux
: P5 enhancement
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-18 20:53 UTC by Gordon Schumacher
Modified: 2009-07-21 17:41 UTC (History)
1 user (show)

See Also:
Host: x86_64-pc-linux-gnu
Target: i486-gentoo-linux-uclibc
Build: x86_64-pc-linux-gnu


Attachments
uclibc config file (5.61 KB, text/plain)
2009-04-18 20:53 UTC, Gordon Schumacher
Details

Note You need to log in before you can comment on or make changes to this bug.
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