Skip to contentSkip to conversation

m68k: kernel/up.c:16: error: dereferencing pointer to incomplete type

DISCUSSION Geert Uytterhoeven 3 participants 9 messages Mar 12, 2009 – Mar 15, 2009 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Stephen,

I can't seem to reproduce the compile failure of kernel/up.c on m68k, as shown on
http://kisskb.ellerman.id.au/kisskb/buildresult/186066/:

| kernel/up.c:16: error: dereferencing pointer to incomplete type

I am using the exact same version (ebdcc81c71937b30e09110c02a1e8a21fa770b6f). I'm using a different compiler, though (gcc 4.1.2).

If it is reproducible, can you please send me kernel/up.i?

Thanks!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

#1 lore raw

Hi Geert,

Quoted 6 lines · On Thu, 12 Mar 2009 14:08:57 +0100 Geert Uytterhoeven <[email protected]>…

I can't seem to reproduce the compile failure of kernel/up.c on m68k, as shown on
http://kisskb.ellerman.id.au/kisskb/buildresult/186066/:

| kernel/up.c:16: error: dereferencing pointer to incomplete type

When kisskb gets an error in building a kernel, it tries to bisect the problem starting from a known good kernel. The above error occurs during the bisection process not when building the original kernel. I guess we need to be a bit more careful when reporting the errors. Sorry about that.

It was actually building commit "[ad33ea3a8d2ec324dc0f46b6ae404d824d2b349b] bnx2x: Missing mask when calculating flow control", I think.

Signature · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/
#2 lore raw
In reply to Geert Uytterhoeven

Hi Geert,

Quoted 6 lines · On Thu, 12 Mar 2009 14:08:57 +0100 Geert Uytterhoeven <[email protected]>…

I can't seem to reproduce the compile failure of kernel/up.c on m68k, as shown on
http://kisskb.ellerman.id.au/kisskb/buildresult/186066/:

| kernel/up.c:16: error: dereferencing pointer to incomplete type

When kisskb gets an error in building a kernel, it tries to bisect the problem starting from a known good kernel. The above error occurs during the bisection process not when building the original kernel. I guess we need to be a bit more careful when reporting the errors. Sorry about that.

It was actually building commit "[ad33ea3a8d2ec324dc0f46b6ae404d824d2b349b] bnx2x: Missing mask when calculating flow control", I think.

Signature · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/
#3 lore raw

Hi Stephe,

Quoted 6 lines · Stephen Rothwell
Quoted 5 lines · On Thu, 12 Mar 2009 14:08:57 +0100 Geert Uytterhoeven <[email protected]>…

I can't seem to reproduce the compile failure of kernel/up.c on m68k, as shown on
http://kisskb.ellerman.id.au/kisskb/buildresult/186066/:

Quoted 7 lines
Quoted 1 line

| kernel/up.c:16: error: dereferencing pointer to incomplete type

When kisskb gets an error in building a kernel, it tries to bisect the problem starting from a known good kernel.  The above error occurs during the bisection process not when building the original kernel.  I guess we need to be a bit more careful when reporting the errors.  Sorry about that.

Ah, that explains it, thanks!

I had also just noticed kernel/up.o was compiled twice, and the first one succeeded.
Now I understand why...

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw
In reply to Stephen Rothwell
Quoted 8 lines · Stephen Rothwell

Hi Geert,

Quoted 5 lines · On Thu, 12 Mar 2009 14:08:57 +0100 Geert Uytterhoeven <[email protected]>…

I can't seem to reproduce the compile failure of kernel/up.c on m68k, as shown on
http://kisskb.ellerman.id.au/kisskb/buildresult/186066/:

Quoted 7 lines
Quoted 1 line

| kernel/up.c:16: error: dereferencing pointer to incomplete type

When kisskb gets an error in building a kernel, it tries to bisect the problem starting from a known good kernel. The above error occurs during the bisection process not when building the original kernel. I guess we need to be a bit more careful when reporting the errors. Sorry about that.

Yeah sorry that is confusing.

Should be fixed now.

cheers

Signature · 8 lines
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
#6 lore raw
In reply to Stephen Rothwell
Quoted 8 lines · Stephen Rothwell

Hi Geert,

Quoted 5 lines · On Thu, 12 Mar 2009 14:08:57 +0100 Geert Uytterhoeven <[email protected]>…

I can't seem to reproduce the compile failure of kernel/up.c on m68k, as shown on
http://kisskb.ellerman.id.au/kisskb/buildresult/186066/:

Quoted 7 lines
Quoted 1 line

| kernel/up.c:16: error: dereferencing pointer to incomplete type

When kisskb gets an error in building a kernel, it tries to bisect the problem starting from a known good kernel. The above error occurs during the bisection process not when building the original kernel. I guess we need to be a bit more careful when reporting the errors. Sorry about that.

Yeah sorry that is confusing.

Should be fixed now.

cheers

Signature · 8 lines
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
#4 lore raw
In reply to Geert Uytterhoeven

Hi Geert,

Quoted 6 lines · On Fri, 13 Mar 2009 08:59:31 +0100 Geert Uytterhoeven <[email protected]>…

Ah, that explains it, thanks!

I had also just noticed kernel/up.o was compiled twice, and the first one succeeded.
Now I understand why...

This has now been fixed, thanks to Michael.

Signature · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/