This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: Error compiling kernel with crosscompiler (unistd.h:441)


Hi,

The kernel fails with the following error when I try with crosstool:
/opt/linux-2.4.20-pelk-1.2.0/include/asm/unistd.h:439: error: asm-specifier for variable `__sc_4' conflicts with asm clobber list
The kernel-source is one I have got from the board-supplier...
See http://gcc.gnu.org/PR9379
It looks like you may need an update to your kernel source.
So, what you're saying is that you think that this has been fixed in a newer version? E.g. one from http://www.penguinppc.org/dev/kernel.shtml...
That's my guess.  I wish I could put my finger on the patch that
fixed it, but I don't have that info handy.
Great - I'll try that first thing in the morning...
Unfortunately my board-specific patches are not included in the branch.
So I tried applying the specified unistd-patch to my 2.4.20 kernel, but the resulting kernel didn't work then (some other files had to be changed a bit, too)...
Bummer...


// Martin



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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