linux-source-2.6.12 FTBFS with custom config

Bug #20067 reported by James Troup
6
Affects Status Importance Assigned to Milestone
linux-source-2.6.15 (Ubuntu)
Fix Released
Medium
Ben Collins

Bug Description

When compiling linux-source-2.6.12 (2.6.12-7.11) from source on powerpc64, with
a custom config, I get the following:

  CC drivers/macintosh/adbhid.o
drivers/macintosh/adbhid.c: In function `adbhid_init':
drivers/macintosh/adbhid.c:1199: error: `_MACH_chrp' undeclared (first use in
this function)
drivers/macintosh/adbhid.c:1199: error: (Each undeclared identifier is reported
only once
drivers/macintosh/adbhid.c:1199: error: for each function it appears in.)

The same config works with 2.6.10, so hopefully this is a bug and not PEBKAC.

Revision history for this message
James Troup (elmo) wrote :

Created an attachment (id=3300)
config demonstrating FTBFS

Revision history for this message
Fabio Massimo Di Nitto (fabbione) wrote :

The overall KConfig situation on ppc64 is known upstream not to be state of the
art yet.

I did compare your config with our and basically you managed to enable
CONFIG_INPUT_ADBHID
that for what i know is available only on ppc32.

While this is really annoying, i suggest to either start from our config and
kill what
you don't need, or stick with the stock.

Some relevant bits that might trigger it are:

diff -u james stock
-# CONFIG_PPC_PSERIES is not set
+CONFIG_PPC_PSERIES=y
-# CONFIG_PPC_MAPLE is not set
+CONFIG_PPC_MAPLE=y
-CONFIG_POWER4_ONLY=y
+# CONFIG_POWER4_ONLY is not set
-# CONFIG_SCHED_SMT is not set
+CONFIG_HMT=y
+CONFIG_DISCONTIGMEM=y
+CONFIG_NUMA=y
+CONFIG_SCHED_SMT=y

there might be more.. but these are bits i know that might influence the 32/64
bit stuff.

Fabio

Revision history for this message
Ben Collins (ben-collins) wrote :

Closing this bug

Revision history for this message
Matt Zimmerman (mdz) wrote :

Did you mean to close this rather than set it to PENDINGUPLOAD?

Revision history for this message
Ben Collins (ben-collins) wrote :

No, I have a patch that disables all the ADB related config options for PPC64

Revision history for this message
Ben Collins (ben-collins) wrote :

Fixed

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.