[parisc-linux] RE: Dump module patche.
John David Anglin
dave@hiauly1.hia.nrc.ca
Wed, 14 May 2003 14:01:37 -0400 (EDT)
> >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.
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.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)