Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72865 - weird kernel compilation problem
Summary: weird kernel compilation problem
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: Sparc All
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-29 15:15 UTC by rob holland (RETIRED)
Modified: 2004-11-29 16:17 UTC (History)
0 users

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


Attachments
kernel conf (.config,11.65 KB, text/plain)
2004-11-29 15:21 UTC, rob holland (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rob holland (RETIRED) gentoo-dev 2004-11-29 15:15:32 UTC
not sure if I'm doing something dumb, can't think what might cause this:

for either g-d-s or d-s 2.6.7 I get this when running make after doing a menuconfig:

livecd linux-2.6.7 # make
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/conmakehash  HOSTCC  scripts/kallsyms
  CC      scripts/empty.o
  HOSTCC  scripts/mk_elfconfig
  MKELF   scripts/elfconfig.h
  HOSTCC  scripts/file2alias.o
  HOSTCC  scripts/modpost.o
  HOSTCC  scripts/sumversion.o
  HOSTLD  scripts/modpost
  HOSTCC  scripts/pnmtologo
  HOSTCC  scripts/bin2c
  CC      init/main.o
In file included from include/linux/signal.h:6,
                 from include/linux/sched.h:25,
                 from include/linux/module.h:10,
                 from init/main.c:16:
include/asm/signal.h:210: error: syntax error before "compat_sigset_t"
include/asm/signal.h:210: warning: no semicolon at end of struct or union
include/asm/signal.h:229: error: syntax error before "compat_old_sigset_t"
include/asm/signal.h:229: warning: no semicolon at end of struct or union
include/asm/signal.h:232: error: syntax error before '}' token
include/asm/signal.h:245: error: syntax error before "compat_size_t"
include/asm/signal.h:245: warning: no semicolon at end of struct or union
include/asm/signal.h:246: warning: type defaults to `int' in declaration of `stack_t32'
include/asm/signal.h:246: warning: data definition has no type or storage class
In file included from include/linux/signal.h:7,
                 from include/linux/sched.h:25,
                 from include/linux/module.h:10,
                 from init/main.c:16:
include/asm/siginfo.h:34: error: syntax error before "compat_pid_t"
include/asm/siginfo.h:34: warning: no semicolon at end of struct or union
include/asm/siginfo.h:34: warning: no semicolon at end of struct or union
include/asm/siginfo.h:48: error: syntax error before "compat_pid_t"
include/asm/siginfo.h:48: warning: no semicolon at end of struct or union
include/asm/siginfo.h:51: error: syntax error before '}' token
include/asm/siginfo.h:51: warning: type defaults to `int' in declaration of `_rt'
include/asm/siginfo.h:51: warning: data definition has no type or storage class
include/asm/siginfo.h:55: error: syntax error before "compat_pid_t"
include/asm/siginfo.h:55: warning: no semicolon at end of struct or union
include/asm/siginfo.h:58: error: syntax error before "_utime"
include/asm/siginfo.h:58: warning: type defaults to `int' in declaration of `_utime'
include/asm/siginfo.h:58: warning: data definition has no type or storage class
include/asm/siginfo.h:59: error: syntax error before "_stime"
include/asm/siginfo.h:59: warning: type defaults to `int' in declaration of `_stime'
include/asm/siginfo.h:59: warning: data definition has no type or storage class
include/asm/siginfo.h:60: warning: type defaults to `int' in declaration of `_sigchld'
include/asm/siginfo.h:60: warning: data definition has no type or storage class
include/asm/siginfo.h:73: error: syntax error before '}' token
include/asm/siginfo.h:73: warning: type defaults to `int' in declaration of `_sifields'
include/asm/siginfo.h:73: warning: data definition has no type or storage class
include/asm/siginfo.h:74: error: syntax error before '}' token
include/asm/siginfo.h:74: warning: type defaults to `int' in declaration of `siginfo_t32'
include/asm/siginfo.h:74: warning: data definition has no type or storage class
include/asm/siginfo.h:102: error: syntax error before '*' token
include/asm/siginfo.h:102: warning: function declaration isn't a prototype
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2

emerge info:
livecd linux-2.6.7 # emerge info
Portage 2.0.51-r3 (default-linux/sparc/sparc64/2004.3, gcc-3.3.4, glibc-2.3.3.20040420-r2, 2.4.27-sparc sparc64)
=================================================================
System uname: 2.4.27-sparc sparc64 sun4u
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="sparc ~sparc"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=ultrasparc"
CHOST="sparc-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=ultrasparc"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="sparc crypt ncurses pam ultra1 zlib"
Comment 1 rob holland (RETIRED) gentoo-dev 2004-11-29 15:21:49 UTC
Created attachment 44960 [details]
kernel conf
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-11-29 16:17:10 UTC
CONFIG_COMPAT needs to be set... we don't support 64bit userland, so I'm not gonna bother with this fix...