[parisc-linux] RE: Dump module patche.

Joel Soete jsoe0708@tiscali.be
Thu, 15 May 2003 16:38:17 +0200


Dave,

>
>
>> >Attachment: dump_modules-2.4.20-pa32.patch2
>> >
>> I apply it against last 2.4.20-pa35 (do not have any more pa22 :( ) (just
>> 2 hunk to remove). Unfortunately it failed to compile with following message:
>> `gcc-3.0 -print-libgcc-file-name` /usr/src/LKCD/hppa/linux-2.4.20-pa35-lkcd/arch/parisc/lib/lib.a
>> /usr/src/LKCD/hppa/linux-2.4.20-pa35-lkcd/lib/lib.a  \
>> 	--end-group \
>> 	-o vmlinux
>> fs/fs.o(.debug_info+0x6fbaf): undefined reference to `.L1225'
>> make: *** [vmlinux] Error 1
>> 
>> (Sorry I already met this kind of pb but do not remember how to solve
:()
>
>At first glance, this would appear to be a GCC bug.  If I was to guess,
>it's a problem with a label for a jump table being deleted.

I will try gcc-3.2 (or later) because

>
>You might be able to avoid the problem by compiling fs.o with a different
>optimization.  The problem could be investigated further by generating
>the assember output for the routine with -g.  Search for the above label.
>The debug information in the file will allow finding the source line.
>

fs.o is in fact a lib build with "ld -r -o fs.o open.o read_rite.o [...]"

and 'objdump -d fs.o' do not actualy help me to find back any above references
:(

Thanks,
    Joel


---------------------------------
Vous surfez avec une ligne classique ?
Economisez jusqu'à 25% avec Tiscali Complete !
Offre spéciale : première année d'abonnement offerte.
... Plus d'info sur http://complete.tiscali.be