* [Linux-ia64] parport for ia64
@ 2000-08-18 14:11 Christian Groessler
2000-08-22 1:48 ` Jim Wilson
0 siblings, 1 reply; 2+ messages in thread
From: Christian Groessler @ 2000-08-18 14:11 UTC (permalink / raw)
To: linux-ia64
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Linux-ia64] parport for ia64
2000-08-18 14:11 [Linux-ia64] parport for ia64 Christian Groessler
@ 2000-08-22 1:48 ` Jim Wilson
0 siblings, 0 replies; 2+ messages in thread
From: Jim Wilson @ 2000-08-22 1:48 UTC (permalink / raw)
To: linux-ia64
parport_pc.c:2719: Internal compiler error in
`add_abstract_origin_attribute', at dwarf2out.c:7532
This testcase works OK with the current compiler development sources.
This was fixed by a gcc/dwarf2out.c patch on 2000-04-25. However, I know
that patch only works if a few other following patches are also used, and
I don't know what the complete set of necessary patches is, so this doesn't
seem worthwhile to try to fix in the February compiler.
I'd suggest using a workaround until a newer compiler is ready. Compiling
without -g will make the problem go away. Also, getting rid of the inline
version of the parport_pc_read_status function will solve the problem.
Jim
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-08-22 1:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-18 14:11 [Linux-ia64] parport for ia64 Christian Groessler
2000-08-22 1:48 ` Jim Wilson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox