Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96983 - Request for linux-headers-2.6.12 (gcc 4 triggert bug)
Summary: Request for linux-headers-2.6.12 (gcc 4 triggert bug)
Status: RESOLVED DUPLICATE of bug 97556
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC64 Linux
: High enhancement (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-24 13:33 UTC by Markus Rothe (RETIRED)
Modified: 2005-07-05 00:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Rothe (RETIRED) gentoo-dev 2005-06-24 13:33:13 UTC
Here is what I get when trying to compile linux-headers-2.6.11-r2 using gcc-4.0.1_pre20050616:


###############################################################################
[...]
*
* Hardware crypto devices
*
*
* Library routines
*
CRC-CCITT functions (CRC_CCITT) [M/y/?] (NEW) m
CRC32 functions (CRC32) [Y/?] y
CRC32c (Castagnoli, et al) Cyclic Redundancy-Check (LIBCRC32C) [N/m/y/?] (NEW) n
  SPLIT   include/linux/autoconf.h -> include/config/*
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
scripts/mod/sumversion.c: In function 'parse_file':
scripts/mod/sumversion.c:260: warning: pointer targets in passing argument 1 of 'grab_file' differ in signedness
scripts/mod/sumversion.c:277: warning: pointer targets in passing argument 1 of 'parse_string' differ in signedness
scripts/mod/sumversion.c:283: warning: pointer targets in passing argument 1 of 'parse_comment' differ in signedness
scripts/mod/sumversion.c: In function 'parse_source_files':
scripts/mod/sumversion.c:335: warning: pointer targets in initialization differ in signedness
scripts/mod/sumversion.c:344: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
scripts/mod/sumversion.c:357: warning: pointer targets in passing argument 1 of 'parse_file' differ in signedness
scripts/mod/sumversion.c: In function 'strip_rcs_crap':
scripts/mod/sumversion.c:463: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
scripts/mod/sumversion.c:463: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
scripts/mod/sumversion.c:463: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
scripts/mod/sumversion.c:463: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
scripts/mod/sumversion.c:463: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
scripts/mod/sumversion.c:463: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
scripts/mod/sumversion.c:463: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
scripts/mod/sumversion.c:463: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
scripts/mod/sumversion.c:467: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
scripts/mod/sumversion.c:467: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
scripts/mod/sumversion.c:467: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
scripts/mod/sumversion.c:483: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
scripts/mod/sumversion.c:484: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
scripts/mod/sumversion.c: In function 'maybe_frob_rcs_version':
scripts/mod/sumversion.c:494: warning: pointer targets in passing argument 1 of 'strip_rcs_crap' differ in signedness
  HOSTLD  scripts/mod/modpost
  HOSTCC  scripts/kallsyms
scripts/kallsyms.c: In function 'read_symbol':
scripts/kallsyms.c:152: warning: pointer targets in assignment differ in signedness
scripts/kallsyms.c:153: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
scripts/kallsyms.c: In function 'symbol_valid':
scripts/kallsyms.c:193: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
scripts/kallsyms.c:193: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:193: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
scripts/kallsyms.c:193: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:193: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:193: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:194: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
scripts/kallsyms.c:194: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:194: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
scripts/kallsyms.c:194: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:194: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:194: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:199: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness
scripts/kallsyms.c:203: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
scripts/kallsyms.c:203: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:203: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
scripts/kallsyms.c:203: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:203: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:203: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
  HOSTCC  scripts/pnmtologo
  HOSTCC  scripts/conmakehash
scripts/conmakehash.c: In function 'getunicode':
scripts/conmakehash.c:36: warning: pointer targets in initialization differ in signedness
scripts/conmakehash.c:44: warning: pointer targets in assignment differ in signedness
scripts/conmakehash.c:45: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness
  HOSTCC  scripts/bin2c
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  CC      arch/ppc64/kernel/asm-offsets.s
In file included from include/linux/compiler.h:49,
                 from include/linux/stddef.h:4,
                 from include/linux/list.h:4,
                 from include/linux/signal.h:4,
                 from arch/ppc64/kernel/asm-offsets.c:17:
include/linux/compiler-gcc+.h:9:1: warning: "inline" redefined
In file included from include/linux/stddef.h:4,
                 from include/linux/list.h:4,
                 from include/linux/signal.h:4,
                 from arch/ppc64/kernel/asm-offsets.c:17:
include/linux/compiler.h:36:1: warning: this is the location of the previous definition
In file included from include/linux/compiler.h:49,
                 from include/linux/stddef.h:4,
                 from include/linux/list.h:4,
                 from include/linux/signal.h:4,
                 from arch/ppc64/kernel/asm-offsets.c:17:
include/linux/compiler-gcc+.h:10:1: warning: "__inline__" redefined
In file included from include/linux/stddef.h:4,
                 from include/linux/list.h:4,
                 from include/linux/signal.h:4,
                 from arch/ppc64/kernel/asm-offsets.c:17:
include/linux/compiler.h:37:1: warning: this is the location of the previous definition
In file included from include/linux/compiler.h:49,
                 from include/linux/stddef.h:4,
                 from include/linux/list.h:4,
                 from include/linux/signal.h:4,
                 from arch/ppc64/kernel/asm-offsets.c:17:
include/linux/compiler-gcc+.h:11:1: warning: "__inline" redefined
In file included from include/linux/stddef.h:4,
                 from include/linux/list.h:4,
                 from include/linux/signal.h:4,
                 from arch/ppc64/kernel/asm-offsets.c:17:
include/linux/compiler.h:38:1: warning: this is the location of the previous definition
In file included from include/asm/spinlock.h:20,
                 from include/linux/spinlock.h:43,
                 from include/linux/signal.h:5,
                 from arch/ppc64/kernel/asm-offsets.c:17:
include/asm/paca.h:25: error: array type has incomplete element type
make[1]: *** [arch/ppc64/kernel/asm-offsets.s] Error 1
make: *** [arch/ppc64/kernel/asm-offsets.s] Error 2

!!! ERROR: sys-kernel/linux-headers-2.6.11-r2 failed.
!!! Function compile_headers, Line 386, Exitcode 2
!!! prepare failed
!!! If you need support, post the topmost build error, NOT this status message.
###############################################################################

I tested 2.6.12 (excluding some patches from 2.6.11-r2 which didn't applied cleanly with newer version) and everything compiles and installs as expected.

(I get many warnings, but no errors!)
Comment 1 Markus Rothe (RETIRED) gentoo-dev 2005-07-05 00:38:43 UTC
patch from bug #97556 fixes this problem.

*** This bug has been marked as a duplicate of 97556 ***