[Linux-ia64] parport for ia64

Christian Groessler
2000-08-18T14:11:06Z

[-- Attachment #1: Type: text/plain, Size: 1120 bytes --]

Hi,

I had to add the following file as include/asm-ia64/parport.h to compile
the parport modules on ia64.

(See attached file: parport.h.gz)

But when compiling with default optimizations, I get the following:

-----------
make[2]: Entering directory `/usr/src/linux-2.4.0-test6/drivers/parport'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -g -O2
-fomit-frame-pointer -pipe -Wa,-x -ffixed-r13
-mfixed-range=f10-f15,f32-f127 -funwind-tables -fno-strict-aliasing
-DMODULE -DEXPORT_SYMTAB -c parport_pc.c
parport_pc.c: In function `cleanup_module':
parport_pc.c:2698: warning: implicit declaration of function `free_dma'
parport_pc.c: In function `parport_pc_read_status':
parport_pc.c:2719: Internal compiler error in
`add_abstract_origin_attribute', at dwarf2out.c:7532
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for
instructions.
make[2]: *** [parport_pc.o] Error 1
-----------

When I removed the -O2 from the compile flags, it compiled fine.

Kernel: linux-2.4.0-test6-ia64-000811
gcc: gcc version 2.9-ia64-000216-final

regards,
chris

[-- Attachment #2: parport.h.gz --]
[-- Type: application/octet-stream, Size: 313 bytes --]