Skip to contentSkip to conversation

linux-2.4.18-pa19 fpu problem

parisc-linux [email protected] 6 participants 9 messages Apr 17, 2002 – Apr 21, 2002

lore
Share & tools
lore
#0 lore raw

Hi all,

Here is some trace I get from the kernel (2.4.18-pa19) make (after a make oldconfig):
...
gcc -D__KERNEL__ -I/GNU-Dev/parisc-linux/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -D__linux__ -pipe -fno-strength-reduce -mno-space-regs -mfast-indirect-calls -mdisable-fpregs -ffunction-sections -march=1.1
-mschedule=7100 -DKBUILD_BASENAME=driver -c -o driver.o driver.c
driver.c: In function `handle_fpe':
driver.c:103: warning: implicit declaration of function `decode_fpu' gcc -D__KERNEL__ -I/GNU-Dev/parisc-linux/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -D__linux__ -pipe -fno-strength-reduce -mno-space-regs -mfast-indirect-calls -mdisable-fpregs -ffunction-sections -march=1.1
-mschedule=7100 -DKBUILD_BASENAME=decode_exc -c -o decode_exc.o decode_exc.c
decode_exc.c: In function `decode_fpu':
decode_exc.c:168: warning: implicit declaration of function fpudispatch' decode_exc.c:239: warning: implicit declaration of function sgl_denormalize' decode_exc.c:251: warning: implicit declaration of function dbl_denormalize' decode_exc.c:304: warning: suggest parentheses around arithmetic in operand of | decode_exc.c:350: warning: implicit declaration of function printk' gcc -D__KERNEL__ -I/GNU-Dev/parisc-linux/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -D__linux__ -pipe -fno-strength-reduce -mno-space-regs -mfast-indirect-calls -mdisable-fpregs -ffunction-sections -march=1.1
-mschedule=7100 -DKBUILD_BASENAME=fpudispatch -c -o fpudispatch.o fpudispatch.c
fpudispatch.c: In function `decode_0c':
fpudispatch.c:365: warning: implicit declaration of function sgl_fsqrt' fpudispatch.c:368: warning: implicit declaration of function dbl_fsqrt' fpudispatch.c:377: warning: implicit declaration of function sgl_frnd' fpudispatch.c:380: warning: implicit declaration of function dbl_frnd' fpudispatch.c:409: warning: implicit declaration of function sgl_to_dbl_fcnvff' fpudispatch.c:412: warning: implicit declaration of function dbl_to_sgl_fcnvff' fpudispatch.c:420: warning: implicit declaration of function sgl_to_sgl_fcnvxf' fpudispatch.c:423: warning: implicit declaration of function sgl_to_dbl_fcnvxf' fpudispatch.c:426: warning: implicit declaration of function dbl_to_sgl_fcnvxf' fpudispatch.c:429: warning: implicit declaration of function dbl_to_dbl_fcnvxf' fpudispatch.c:435: warning: implicit declaration of function sgl_to_sgl_fcnvfx' fpudispatch.c:438: warning: implicit declaration of function sgl_to_dbl_fcnvfx' fpudispatch.c:441: warning: implicit declaration of function dbl_to_sgl_fcnvfx' fpudispatch.c:444: warning: implicit declaration of function dbl_to_dbl_fcnvfx' fpudispatch.c:450: warning: implicit declaration of function sgl_to_sgl_fcnvfxt' fpudispatch.c:453: warning: implicit declaration of function sgl_to_dbl_fcnvfxt' fpudispatch.c:456: warning: implicit declaration of function dbl_to_sgl_fcnvfxt' fpudispatch.c:459: warning: implicit declaration of function dbl_to_dbl_fcnvfxt' fpudispatch.c:465: warning: implicit declaration of function sgl_to_sgl_fcnvuf' fpudispatch.c:468: warning: implicit declaration of function sgl_to_dbl_fcnvuf' fpudispatch.c:471: warning: implicit declaration of function dbl_to_sgl_fcnvuf' fpudispatch.c:474: warning: implicit declaration of function dbl_to_dbl_fcnvuf' fpudispatch.c:480: warning: implicit declaration of function sgl_to_sgl_fcnvfu' fpudispatch.c:483: warning: implicit declaration of function sgl_to_dbl_fcnvfu' fpudispatch.c:486: warning: implicit declaration of function dbl_to_sgl_fcnvfu' fpudispatch.c:489: warning: implicit declaration of function dbl_to_dbl_fcnvfu' fpudispatch.c:495: warning: implicit declaration of function sgl_to_sgl_fcnvfut' fpudispatch.c:498: warning: implicit declaration of function sgl_to_dbl_fcnvfut' fpudispatch.c:501: warning: implicit declaration of function dbl_to_sgl_fcnvfut' fpudispatch.c:504: warning: implicit declaration of function dbl_to_dbl_fcnvfut' fpudispatch.c:540: warning: implicit declaration of function sgl_fcmp' fpudispatch.c:547: warning: implicit declaration of function dbl_fcmp' fpudispatch.c:622: warning: implicit declaration of function sgl_fadd' fpudispatch.c:625: warning: implicit declaration of function dbl_fadd' fpudispatch.c:634: warning: implicit declaration of function sgl_fsub' fpudispatch.c:637: warning: implicit declaration of function dbl_fsub' fpudispatch.c:646: warning: implicit declaration of function sgl_fmpy' fpudispatch.c:649: warning: implicit declaration of function dbl_fmpy' fpudispatch.c:658: warning: implicit declaration of function sgl_fdiv' fpudispatch.c:661: warning: implicit declaration of function dbl_fdiv' fpudispatch.c:670: warning: implicit declaration of function sgl_frem' fpudispatch.c:673: warning: implicit declaration of function dbl_frem' fpudispatch.c: In function `decode_2e':
fpudispatch.c:1354: warning: implicit declaration of function dbl_fmpynfadd' fpudispatch.c:1357: warning: implicit declaration of function dbl_fmpyfadd' fpudispatch.c:1376: warning: implicit declaration of function sgl_fmpynfadd' fpudispatch.c:1379: warning: implicit declaration of function sgl_fmpyfadd'
...

I do think that lacks a header to define some function.

Thanks in advance for help,
Joel

-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)

#1 lore raw
Quoted 2 lines · On Wed, Apr 17, 2002 at 11:02:54AM +0200, [email protected] wrote:

Here is some trace I get from the kernel (2.4.18-pa19) make (after a make oldconfig):

...

Quoted 1 line

I do think that lacks a header to define some function.

this code is crufty old HPUX stuff... the warnings have been there basically forever, and nobody's bothered to fix them. Nobody's found a problem either :-) If you want to eliminate these warnings by declaring everything properly, feel free to send a patch, but I don't think it's very important.

Signature · 1 line
Revolutions do not require corporate support.
#2 lore raw
Quoted 11 lines · On Wed, Apr 17, 2002 at 11:02:54AM +0200, [email protected] wrote:
Quoted 2 lines

Here is some trace I get from the kernel (2.4.18-pa19) make (after a make oldconfig):

...

Quoted 1 line

I do think that lacks a header to define some function.

this code is crufty old HPUX stuff... the warnings have been there basically forever, and nobody's bothered to fix them. Nobody's found a problem either :-) If you want to eliminate these warnings by declaring everything properly, feel free to send a patch, but I don't think it's very important.

Here's the README in the math-emu directory which describes why we leave the warnings in:

"All files except driver.c are snapshots from the HP-UX kernel. They've
been modified as little as possible. Even though they don't fit the Linux coding style, please leave them in their funny format just in case someone in the future, with access to HP-UX source code, is generous enough to update our copies with later changes from HP-UX -- it'll make their 'diff' job easier if our code is relatively unmodified.

#3 lore raw
Quoted 9 lines · Paul Bame

Here's the README in the math-emu directory which describes why we leave the warnings in:

"All files except driver.c are snapshots from the HP-UX kernel. They've
been modified as little as possible. Even though they don't fit the Linux coding style, please leave them in their funny format just in case someone in the future, with access to HP-UX source code, is generous enough to update our copies with later changes from HP-UX -- it'll make their 'diff' job easier if our code is relatively unmodified.

Sure, but I don't think adding

#include "math-emu.h"

to each file will make anyone's life more difficult. Nor even

float sfod(float, float);
float ssinf(double);
...

Signature · 1 line
Revolutions do not require corporate support.
#4 lore raw
In reply to Matthew Wilcox

Quoting Matthew Wilcox <[email protected]>:

Quoted 12 lines · On Wed, Apr 17, 2002 at 11:02:54AM +0200, [email protected] wrote:
Quoted 1 line

Here is some trace I get from the kernel (2.4.18-pa19) make (after a

make

Quoted 1 line

oldconfig):

...

Quoted 1 line

I do think that lacks a header to define some function.

this code is crufty old HPUX stuff... the warnings have been there basically forever, and nobody's bothered to fix them. Nobody's found a problem either :-) If you want to eliminate these warnings by declaring everything properly, feel free to send a patch, but I don't think it's very important.

Thanks for info.

In fact I test to compile this kernel with gcc-3.2 (snapshot) and severall time it failled and I suspect wrongly that it could be the cause but it is certainly somewhere else (don't rememnber exactly). Never the less I will try to make this patch.

Joel

-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)

#5 lore raw

[parisc-linux] gcc-3.2 for parisc

hello all,

i've seen a bit of discussion lately about people using the gcc 3.2 snapshot on parisc linux. i would like to know if anyone has provided or will provide a guide to getting it going on parisc linux at all?

are you talking about the mainstream gcc 3.2 from the gcc cvs development tree? i haven't been able to compile that at all. i tried with my old gcc 3.0.2 on my parisc box, and i also tried to cross compile it with the latest x86 cross compiler from the ftp.parisc-linux.org.

when i try to compile it i'm overcome with internal compiler errors, so i guess with a newer or better compiler i could build it but of course there is the cache-22.

thanks,
james w. mcclain

#6 lore raw

Re: [parisc-linux] gcc-3.2 for parisc

Quoted 2 lines

are you talking about the mainstream gcc 3.2 from the gcc cvs development tree? i haven't been able to compile that at all. i tried with my old

Yes.

Quoted 2 lines

gcc 3.0.2 on my parisc box, and i also tried to cross compile it with the latest x86 cross compiler from the ftp.parisc-linux.org.

The trick as I recall is to compile stage1 with -O2. You should also build cvs binutils and install it first.

Dave

Signature · 2 lines
J. David Anglin                                  [email protected]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)
#7 lore raw

Re: [parisc-linux] gcc-3.2 for parisc

In reply to James Mcclain
Quoted 3 lines

i've seen a bit of discussion lately about people using the gcc 3.2 snapshot on parisc linux. i would like to know if anyone has provided or will provide a guide to getting it going on parisc linux at all?

i plan to build unofficial debian packages of these tools in the near future.

randolph

author
#8 lore raw
In reply to Matthew Wilcox

Here is attached a patch to avoid 'implicit' warning at compile time.
It is mainly a lk-math-emu.h file collecting math-emu functions prototype and also some try to unify the declaration of functions.

Please let me know your opinion.

Humm some other type of warning appear so:
driver.c: In function `handle_fpe':
driver.c:105: warning: passing arg 1 of decode_fpu' from incompatible pointer type driver.c:105: warning: passing arg 2 of decode_fpu' makes pointer from integer without a cast
...

fpudispatch.c: In function `decode_0c':
fpudispatch.c:372: warning: passing arg 1 of dbl_fsqrt' from incompatible pointer type fpudispatch.c:372: warning: passing arg 3 of dbl_fsqrt' from incompatible pointer type fpudispatch.c:384: warning: passing arg 1 of dbl_frnd' from incompatible pointer type fpudispatch.c:384: warning: passing arg 3 of dbl_frnd' from incompatible pointer type fpudispatch.c:413: warning: passing arg 3 of sgl_to_dbl_fcnvff' from incompatible pointer type fpudispatch.c:416: warning: passing arg 1 of dbl_to_sgl_fcnvff' from incompatible pointer type fpudispatch.c:427: warning: passing arg 3 of sgl_to_dbl_fcnvxf' from incompatible pointer type fpudispatch.c:430: warning: passing arg 1 of dbl_to_sgl_fcnvxf' from incompatible pointer type fpudispatch.c:433: warning: passing arg 1 of dbl_to_dbl_fcnvxf' from incompatible pointer type fpudispatch.c:433: warning: passing arg 3 of dbl_to_dbl_fcnvxf' from incompatible pointer type fpudispatch.c:442: warning: passing arg 3 of sgl_to_dbl_fcnvfx' from incompatible pointer type fpudispatch.c:445: warning: passing arg 1 of dbl_to_sgl_fcnvfx' from incompatible pointer type fpudispatch.c:448: warning: passing arg 1 of dbl_to_dbl_fcnvfx' from incompatible pointer type fpudispatch.c:448: warning: passing arg 3 of dbl_to_dbl_fcnvfx' from incompatible pointer type fpudispatch.c:457: warning: passing arg 3 of sgl_to_dbl_fcnvfxt' from incompatible pointer type fpudispatch.c:460: warning: passing arg 1 of dbl_to_sgl_fcnvfxt' from incompatible pointer type fpudispatch.c:463: warning: passing arg 1 of dbl_to_dbl_fcnvfxt' from incompatible pointer type fpudispatch.c:463: warning: passing arg 3 of dbl_to_dbl_fcnvfxt' from incompatible pointer type fpudispatch.c:472: warning: passing arg 3 of sgl_to_dbl_fcnvuf' from incompatible pointer type fpudispatch.c:475: warning: passing arg 1 of dbl_to_sgl_fcnvuf' from incompatible pointer type fpudispatch.c:478: warning: passing arg 1 of dbl_to_dbl_fcnvuf' from incompatible pointer type fpudispatch.c:478: warning: passing arg 3 of dbl_to_dbl_fcnvuf' from incompatible pointer type fpudispatch.c:487: warning: passing arg 3 of sgl_to_dbl_fcnvfu' from incompatible pointer type fpudispatch.c:490: warning: passing arg 1 of dbl_to_sgl_fcnvfu' from incompatible pointer type fpudispatch.c:493: warning: passing arg 1 of dbl_to_dbl_fcnvfu' from incompatible pointer type fpudispatch.c:493: warning: passing arg 3 of dbl_to_dbl_fcnvfu' from incompatible pointer type fpudispatch.c:502: warning: passing arg 3 of sgl_to_dbl_fcnvfut' from incompatible pointer type fpudispatch.c:505: warning: passing arg 1 of dbl_to_sgl_fcnvfut' from incompatible pointer type fpudispatch.c:508: warning: passing arg 1 of dbl_to_dbl_fcnvfut' from incompatible pointer type fpudispatch.c:508: warning: passing arg 3 of dbl_to_dbl_fcnvfut' from incompatible pointer type fpudispatch.c:552: warning: passing arg 1 of dbl_fcmp' from incompatible pointer type fpudispatch.c:552: warning: passing arg 2 of dbl_fcmp' from incompatible pointer type fpudispatch.c:583: warning: passing arg 1 of dbl_fcmp' from incompatible pointer type fpudispatch.c:583: warning: passing arg 2 of dbl_fcmp' from incompatible pointer type fpudispatch.c:629: warning: passing arg 1 of dbl_fadd' from incompatible pointer type fpudispatch.c:629: warning: passing arg 2 of dbl_fadd' from incompatible pointer type fpudispatch.c:629: warning: passing arg 3 of dbl_fadd' from incompatible pointer type fpudispatch.c:641: warning: passing arg 1 of dbl_fsub' from incompatible pointer type fpudispatch.c:641: warning: passing arg 2 of dbl_fsub' from incompatible pointer type fpudispatch.c:641: warning: passing arg 3 of dbl_fsub' from incompatible pointer type fpudispatch.c:653: warning: passing arg 1 of dbl_fmpy' from incompatible pointer type fpudispatch.c:653: warning: passing arg 2 of dbl_fmpy' from incompatible pointer type fpudispatch.c:653: warning: passing arg 3 of dbl_fmpy' from incompatible pointer type fpudispatch.c:665: warning: passing arg 1 of dbl_fdiv' from incompatible pointer type fpudispatch.c:665: warning: passing arg 2 of dbl_fdiv' from incompatible pointer type fpudispatch.c:665: warning: passing arg 3 of dbl_fdiv' from incompatible pointer type fpudispatch.c:677: warning: passing arg 1 of dbl_frem' from incompatible pointer type fpudispatch.c:677: warning: passing arg 2 of dbl_frem' from incompatible pointer type fpudispatch.c:677: warning: passing arg 3 of dbl_frem' from incompatible pointer type fpudispatch.c: In function decode_0e':
fpudispatch.c:783: warning: passing arg 1 of dbl_fsqrt' from incompatible pointer type fpudispatch.c:783: warning: passing arg 3 of dbl_fsqrt' from incompatible pointer type fpudispatch.c:795: warning: passing arg 1 of dbl_frnd' from incompatible pointer type fpudispatch.c:795: warning: passing arg 3 of dbl_frnd' from incompatible pointer type fpudispatch.c:822: warning: passing arg 3 of sgl_to_dbl_fcnvff' from incompatible pointer type fpudispatch.c:825: warning: passing arg 1 of dbl_to_sgl_fcnvff' from incompatible pointer type fpudispatch.c:836: warning: passing arg 3 of sgl_to_dbl_fcnvxf' from incompatible pointer type fpudispatch.c:839: warning: passing arg 1 of dbl_to_sgl_fcnvxf' from incompatible pointer type fpudispatch.c:842: warning: passing arg 1 of dbl_to_dbl_fcnvxf' from incompatible pointer type fpudispatch.c:842: warning: passing arg 3 of dbl_to_dbl_fcnvxf' from incompatible pointer type fpudispatch.c:851: warning: passing arg 3 of sgl_to_dbl_fcnvfx' from incompatible pointer type fpudispatch.c:854: warning: passing arg 1 of dbl_to_sgl_fcnvfx' from incompatible pointer type fpudispatch.c:857: warning: passing arg 1 of dbl_to_dbl_fcnvfx' from incompatible pointer type fpudispatch.c:857: warning: passing arg 3 of dbl_to_dbl_fcnvfx' from incompatible pointer type fpudispatch.c:866: warning: passing arg 3 of sgl_to_dbl_fcnvfxt' from incompatible pointer type fpudispatch.c:869: warning: passing arg 1 of dbl_to_sgl_fcnvfxt' from incompatible pointer type fpudispatch.c:872: warning: passing arg 1 of dbl_to_dbl_fcnvfxt' from incompatible pointer type fpudispatch.c:872: warning: passing arg 3 of dbl_to_dbl_fcnvfxt' from incompatible pointer type fpudispatch.c:881: warning: passing arg 3 of sgl_to_dbl_fcnvuf' from incompatible pointer type fpudispatch.c:884: warning: passing arg 1 of dbl_to_sgl_fcnvuf' from incompatible pointer type fpudispatch.c:887: warning: passing arg 1 of dbl_to_dbl_fcnvuf' from incompatible pointer type fpudispatch.c:887: warning: passing arg 3 of dbl_to_dbl_fcnvuf' from incompatible pointer type fpudispatch.c:896: warning: passing arg 3 of sgl_to_dbl_fcnvfu' from incompatible pointer type fpudispatch.c:899: warning: passing arg 1 of dbl_to_sgl_fcnvfu' from incompatible pointer type fpudispatch.c:902: warning: passing arg 1 of dbl_to_dbl_fcnvfu' from incompatible pointer type fpudispatch.c:902: warning: passing arg 3 of dbl_to_dbl_fcnvfu' from incompatible pointer type fpudispatch.c:911: warning: passing arg 3 of sgl_to_dbl_fcnvfut' from incompatible pointer type fpudispatch.c:914: warning: passing arg 1 of dbl_to_sgl_fcnvfut' from incompatible pointer type fpudispatch.c:917: warning: passing arg 1 of dbl_to_dbl_fcnvfut' from incompatible pointer type fpudispatch.c:917: warning: passing arg 3 of dbl_to_dbl_fcnvfut' from incompatible pointer type fpudispatch.c:958: warning: passing arg 1 of dbl_fcmp' from incompatible pointer type fpudispatch.c:958: warning: passing arg 2 of dbl_fcmp' from incompatible pointer type fpudispatch.c:990: warning: passing arg 1 of dbl_fcmp' from incompatible pointer type fpudispatch.c:990: warning: passing arg 2 of dbl_fcmp' from incompatible pointer type fpudispatch.c:1027: warning: passing arg 1 of dbl_fadd' from incompatible pointer type fpudispatch.c:1027: warning: passing arg 2 of dbl_fadd' from incompatible pointer type fpudispatch.c:1027: warning: passing arg 3 of dbl_fadd' from incompatible pointer type fpudispatch.c:1036: warning: passing arg 1 of dbl_fsub' from incompatible pointer type fpudispatch.c:1036: warning: passing arg 2 of dbl_fsub' from incompatible pointer type fpudispatch.c:1036: warning: passing arg 3 of dbl_fsub' from incompatible pointer type fpudispatch.c:1071: warning: passing arg 1 of dbl_fmpy' from incompatible pointer type fpudispatch.c:1071: warning: passing arg 2 of dbl_fmpy' from incompatible pointer type fpudispatch.c:1071: warning: passing arg 3 of dbl_fmpy' from incompatible pointer type fpudispatch.c:1081: warning: passing arg 1 of dbl_fdiv' from incompatible pointer type fpudispatch.c:1081: warning: passing arg 2 of dbl_fdiv' from incompatible pointer type fpudispatch.c:1081: warning: passing arg 3 of dbl_fdiv' from incompatible pointer type fpudispatch.c:1090: warning: passing arg 1 of dbl_frem' from incompatible pointer type fpudispatch.c:1090: warning: passing arg 2 of dbl_frem' from incompatible pointer type fpudispatch.c:1090: warning: passing arg 3 of dbl_frem' from incompatible pointer type fpudispatch.c: In function decode_06':
fpudispatch.c:1143: warning: passing arg 1 of dbl_fmpy' from incompatible pointer type fpudispatch.c:1143: warning: passing arg 2 of dbl_fmpy' from incompatible pointer type fpudispatch.c:1143: warning: passing arg 3 of dbl_fmpy' from incompatible pointer type fpudispatch.c:1146: warning: passing arg 1 of dbl_to_sgl_fcnvfxt' from incompatible pointer type fpudispatch.c:1152: warning: passing arg 1 of dbl_fmpy' from incompatible pointer type fpudispatch.c:1152: warning: passing arg 2 of dbl_fmpy' from incompatible pointer type fpudispatch.c:1152: warning: passing arg 3 of dbl_fmpy' from incompatible pointer type fpudispatch.c:1155: warning: passing arg 1 of dbl_fadd' from incompatible pointer type fpudispatch.c:1155: warning: passing arg 2 of dbl_fadd' from incompatible pointer type fpudispatch.c:1155: warning: passing arg 3 of dbl_fadd' from incompatible pointer type fpudispatch.c:1167: warning: passing arg 1 of dbl_fmpy' from incompatible pointer type fpudispatch.c:1167: warning: passing arg 2 of dbl_fmpy' from incompatible pointer type fpudispatch.c:1167: warning: passing arg 3 of dbl_fmpy' from incompatible pointer type fpudispatch.c:1170: warning: passing arg 1 of dbl_fadd' from incompatible pointer type fpudispatch.c:1170: warning: passing arg 2 of dbl_fadd' from incompatible pointer type fpudispatch.c:1170: warning: passing arg 3 of dbl_fadd' from incompatible pointer type fpudispatch.c: In function `decode_26':
fpudispatch.c:1278: warning: passing arg 1 of dbl_fmpy' from incompatible pointer type fpudispatch.c:1278: warning: passing arg 2 of dbl_fmpy' from incompatible pointer type fpudispatch.c:1278: warning: passing arg 3 of dbl_fmpy' from incompatible pointer type fpudispatch.c:1280: warning: passing arg 1 of dbl_fsub' from incompatible pointer type fpudispatch.c:1280: warning: passing arg 2 of dbl_fsub' from incompatible pointer type fpudispatch.c:1280: warning: passing arg 3 of dbl_fsub' from incompatible pointer type fpudispatch.c: In function `decode_2e':
fpudispatch.c:1360: warning: passing arg 1 of dbl_fmpynfadd' from incompatible pointer type fpudispatch.c:1360: warning: passing arg 2 of dbl_fmpynfadd' from incompatible pointer type fpudispatch.c:1360: warning: passing arg 3 of dbl_fmpynfadd' from incompatible pointer type fpudispatch.c:1360: warning: passing arg 5 of dbl_fmpynfadd' from incompatible pointer type fpudispatch.c:1363: warning: passing arg 1 of dbl_fmpyfadd' from incompatible pointer type fpudispatch.c:1363: warning: passing arg 2 of dbl_fmpyfadd' from incompatible pointer type fpudispatch.c:1363: warning: passing arg 3 of dbl_fmpyfadd' from incompatible pointer type fpudispatch.c:1363: warning: passing arg 5 of dbl_fmpyfadd' from incompatible pointer type

What do you suggest for those (let like this or submit to HP (see Paul comment) to improve their code)?

Quoted 16 lines · Matthew Wilcox
Quoted 2 lines · On Wed, Apr 17, 2002 at 11:02:54AM +0200, [email protected] wrote:

Here is some trace I get from the kernel (2.4.18-pa19) make (after a make oldconfig):

...

Quoted 1 line

I do think that lacks a header to define some function.

this code is crufty old HPUX stuff... the warnings have been there basically forever, and nobody's bothered to fix them. Nobody's found a problem either :-) If you want to eliminate these warnings by declaring everything properly, feel free to send a patch, but I don't think it's very important.