Skip to contentSkip to conversation

build failure on 2.6.17-rc3-git15

DISCUSSION Martin J. Bligh 2 participants 3 messages May 9, 2006

lore
Share & tools
lore
#0 lore raw

i386 with this config:
http://ftp.kernel.org/pub/linux/kernel/people/mbligh/config/abat/numaq

scripts/mod/modpost.c: In function `check_sec_ref':
scripts/mod/modpost.c:716: error: cast to union type from type not present in union make[2]: *** [scripts/mod/modpost.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
05/08/06-19:27:02 Build the kernel. Failed rc = 2
05/08/06-19:27:02 build: kernel build Failed rc = 1

was fine in -git14

                        if (hdr->e_ident[EI_CLASS] == ELFCLASS64 &&
                            hdr->e_machine == EM_MIPS) {
                                r_sym = ELF64_MIPS_R_SYM(rela->r_info);

No idea how that got set ...

#1 lore raw
Quoted 12 lines · Martin J. Bligh

i386 with this config:
http://ftp.kernel.org/pub/linux/kernel/people/mbligh/config/abat/numaq

scripts/mod/modpost.c: In function `check_sec_ref':
scripts/mod/modpost.c:716: error: cast to union type from type not present in union
make[2]: *** [scripts/mod/modpost.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
05/08/06-19:27:02 Build the kernel. Failed rc = 2 05/08/06-19:27:02 build: kernel build Failed rc = 1

Quoted 7 lines

was fine in -git14

                        if (hdr->e_ident[EI_CLASS] == ELFCLASS64 &&
                            hdr->e_machine == EM_MIPS) {
                                r_sym = ELF64_MIPS_R_SYM(rela->r_info);

No idea how that got set ...

The bad commit has been reverted so it should be OK in next (current?) -git.
Sam

#2 lore raw
Quoted 15 lines · Sam Ravnborg
Quoted 13 lines · Martin J. Bligh

i386 with this config:
http://ftp.kernel.org/pub/linux/kernel/people/mbligh/config/abat/numaq

scripts/mod/modpost.c: In function `check_sec_ref':
scripts/mod/modpost.c:716: error: cast to union type from type not present in union make[2]: *** [scripts/mod/modpost.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
05/08/06-19:27:02 Build the kernel. Failed rc = 2
05/08/06-19:27:02 build: kernel build Failed rc = 1

was fine in -git14

Quoted 8 lines
Quoted 5 lines
                       if (hdr->e_ident[EI_CLASS] == ELFCLASS64 &&
                           hdr->e_machine == EM_MIPS) {
                               r_sym = ELF64_MIPS_R_SYM(rela->r_info);

No idea how that got set ...

The bad commit has been reverted so it should be OK in next (current?) -git.

Yup, is fixed. thanks.

M.