make Image fails
Quoted 12 lines · --- [email protected] wrote:
Quoted 1 line · Ulrich Strelow
Building the cvs version 20000227 with defconfig
fails
Quoted 1 line
with unsatified symbol
__cmpdi2.[snip]
Quoted 3 lines
I did not find any reference in the source code.
Grepping through object files as well finds a
reference inarch/parisc/hpux/fs.oand hpux.o.
Quoted 7 lines
__cmpdi2is one of the `help, help, i don't know how to compile this
arithmetic op' symbols that gcc puts into libgcc1. Let me have a look
and wee what's producing this. It may vary depending on gcc version;
what version of gcc are you using?
I am using gcc version 2.8.1. I must admit that this is a bit old, but it was sufficient until now to build parisc-linux kernels (and SOM executables for HP-UX).
Ulrich
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
[parisc-linux] make Image currently fails here too.
My unsatisfied symbols are different, though:
ld: Unsatisfied symbols:
fcacheline (code)
pcacheline (code)
--
Brian S. Julin
Re: [parisc-linux] make Image currently fails here too.
=
= My unsatisfied symbols are different, though:
=
= ld: Unsatisfied symbols:
= fcacheline (code)
= pcacheline (code)
That code doesn't get much maintenance these days. The usual cause of failures is that code using headers from the palinux tree which define macros which call functions which aren't part of that boot loader.
-P
Re: [parisc-linux] make Image currently fails here too.
In reply to Brian S. JulinBrian,
| | My unsatisfied symbols are different, though: | | ld: Unsatisfied symbols: | fcacheline (code) | pcacheline (code) |
I ran into this yesterday, and in poking around with Bonsai, I believe that this is because sammy's net/drivers/lasi_82596.c code includes calls to these macros to do the cacheline flushes and purges, but prumpf removed their definitions from include/asm-parisc/cache.h.
KMB
--
+============================================================+ | Kirk Bresniker (916) 748-2393 | | 8000 Foothills Blvd | | Roseville, CA 95747-5649 | | [email protected] |
Re: [parisc-linux] make Image currently fails here too.
In reply to Brian S. JulinQuoted 5 lines
My unsatisfied symbols are different, though:
ld: Unsatisfied symbols:
fcacheline (code)
pcacheline (code)
That's the (buggy IMHO) Lasi ethernet driver that uses strange custom macros to flush the cache rather than the standard ones. Basically
#define fcacheline(x) dma_cache_wback(&x, 32)
#define pcacheline(x) dma_cache_inv(&x, 32)
_might_ make it compile again.
It alse uses phys_to_virt/virt_to_phys rather than bus_to_virt/virt_to_bus and generally needs to be fixed for the new DMA API soon. If you're happy just using a ramdisk, don't compile it in.
Philipp Rumpf