Skip to contentSkip to conversation

ab3100_core.c fails to build w/ gcc-4.3.3 on hppa

DISCUSSION dann frazier 2 participants 2 messages Aug 11, 2009 – Aug 15, 2009

lore
Share & tools
lore
#0 lore raw

hey,
While testing a 2.6.31-rc5-based snapshot of the Debian kernel
builds, I hit this build failure:

/home/dannf/linux-2.6-2.6.31~rc5/debian/build/source_hppa_none/drivers/mfd/ab3100-core.c:563:
warning: initialization from incompatible pointer type /home/dannf/linux-2.6-2.6.31~rc5/debian/build/source_hppa_none/drivers/mfd/ab3100-core.c:647:
error: ab3100_init_settings causes a section type conflict

Same source/compiler seems to build fine on other archs.

Signature · 1 line
dann frazier
#1 lore raw

2009/8/11 dann frazier <[email protected]>:

Quoted 5 lines

hey,
=A0While testing a 2.6.31-rc5-based snapshot of the Debian kernel builds, I hit this build failure:

/home/dannf/linux-2.6-2.6.31~rc5/debian/build/source_hppa_none/driver=

s/mfd/ab3100-core.c:563:

Quoted 1 line

warning: initialization from incompatible pointer type

I think I have fixed this problem atleast.

Quoted 1 line

/home/dannf/linux-2.6-2.6.31~rc5/debian/build/source_hppa_none/driver=

s/mfd/ab3100-core.c:647:

Quoted 1 line

error: ab3100_init_settings causes a section type conflict

Still wandering in darkness about this one :-(
The init_settings are __initdata and the function using it is __init, I don't get it...

Quoted 1 line

Same source/compiler seems to build fine on other archs.

Never saw it anywhere else. Is there something special in the parisc li= nkfile?

Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc"=
in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html