Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

One more build break in evbppc64



Thanks, Christos, for fixing the lint errors.

This one appears more serious:

--- kern_ksyms.pico ---
cc1: warnings being treated as errors
In file included from ./machine/elf_machdep.h:3:0,
                 from 
/build/netbsd-local/src/lib/librump/../../sys/rump/../sys/exec_elf.h:52,
                 from 
/build/netbsd-local/src/lib/librump/../../sys/rump/../sys/ksyms.h:36,
                 from 
/build/netbsd-local/src/lib/librump/../../sys/rump/../kern/kern_ksyms.c:92:
./powerpc/elf_machdep.h:17:0: error: "ARCH_ELFSIZE" redefined
<command-line>:0:0: note: this is the location of the previous definition
*** [kern_ksyms.pico] Error code 1


Looking backwards in the build log, I find that gcc was invoked with the following partial command, which includes its own definition of ARCH_ELFSIZE:

... -I/build/netbsd-local/src/lib/librump/../../sys/rump/librump/rumpdev 
-DARCH_ELFSIZE=32 
-I/build/netbsd-local/src/lib/librump/../../sys/rump/../lib/libkern/arch/powerpc
 ...


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index