Debian Bug report logs - #194196
Can't compile kernel 2.4.20

version graph

Package: kernel; Maintainer for kernel is (unknown);

Reported by: developer@telefonica.net

Date: Wed, 21 May 2003 17:48:14 UTC

Severity: normal

Tags: pending

Merged with 195129, 195486

Fixed in version kernel-source-2.4.20/2.4.20-8

Done: Herbert Xu <herbert@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian GCC maintainers <debian-gcc@lists.debian.org>, gcc-defaults@packages.qa.debian.org:
Bug#194196; Package gcc. (full text, mbox, link).


Acknowledgement sent to developer@telefonica.net:
New Bug report received and forwarded. Copy sent to Debian GCC maintainers <debian-gcc@lists.debian.org>, gcc-defaults@packages.qa.debian.org. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Jose Antonio Salgueiro <developer@telefonica.net>
To: submit@bugs.debian.org
Cc: joseantonio.insua@hispalinux.es
Subject: Can't compile kernel 2.4.20
Date: 21 May 2003 19:43:21 +0200
Package: gcc
Version: 3.3-1


Compiling kernel 2.4.20 
make clean
make dep

make bzImage
..ers/video/video.o drivers/i2c/busses/i2c-busses.o
drivers/i2c/chips/i2c-chips.o \
        net/network.o \
        /usr/src/linux-2.4.20/arch/i386/lib/lib.a
/usr/src/linux-2.4.20/lib/lib.a
/usr/src/linux-2.4.20/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
net/network.o(.text+0xd887): In function `rtnetlink_rcv':
: undefined reference to `rtnetlink_rcv_skb'
make: *** [vmlinux] Error 1


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux lucas.casa 2.4.20 #5 jue abr 17 19:25:45 CEST 2003 i686
Locale: LANG=es_ES@euro, LC_CTYPE=es_ES@euro (ignored: LC_ALL set)

Versions of packages gcc-3.3 depends on:
ii  binutils                 2.14.90.0.2-0.1 The GNU assembler, linker
and bina
ii  cpp-3.3                  1:3.3-2         The GNU C preprocessor
ii  gcc-3.3-base             1:3.3-2         The GNU Compiler Collection
(base
ii  libc6                    2.3.1-17        GNU C Library: Shared
libraries an
ii  libgcc1                  1:3.3-2         GCC support library



How often does this happen?
Always








Information forwarded to debian-bugs-dist@lists.debian.org, Debian GCC maintainers <debian-gcc@lists.debian.org>, gcc-defaults@packages.qa.debian.org:
Bug#194196; Package gcc. (full text, mbox, link).


Acknowledgement sent to dpates@dsdk12.net (Derrik Pates):
Extra info received and forwarded to list. Copy sent to Debian GCC maintainers <debian-gcc@lists.debian.org>, gcc-defaults@packages.qa.debian.org. (full text, mbox, link).


Message #10 received at 194196@bugs.debian.org (full text, mbox, reply):

From: dpates@dsdk12.net (Derrik Pates)
To: 194196@bugs.debian.org
Subject: Re: Can't compile kernel 2.4.20
Date: Wed, 21 May 2003 23:47:22 -0400
I have experienced this as well. It appears to be because, on line 397
of net/core/rtnetlink.c, rtnetlink_rcv_skb() is flagged as 'extern'. An
analysis of the offending object file with 'nm' shows that symbol as
unresolved (type U). Apparently GCC 3.3 obeys the 'extern' keyword now
even if the function is defined there (apparently why it never popped up
till now). I replaced that 'extern' with a 'static' (I believe that,
based on other neighboring functions, that's what was originally
intended), and the kernel linked fine.

Also, there are some multiline string constants in some other modules
(I encountered them in net/ipv4/netfilter/ip_nat_core.c and
drivers/scsi/aic7xxx/aic7xxx_osm.c) that caused the compiler to throw
errors about no terminating " character.

-- 
Derrik Pates
dpates@dsdk12.net
dpates@voxel.net



Information forwarded to debian-bugs-dist@lists.debian.org, Debian GCC maintainers <debian-gcc@lists.debian.org>, gcc-defaults@packages.qa.debian.org:
Bug#194196; Package gcc. (full text, mbox, link).


Acknowledgement sent to Julien WAJSBERG <flash@minet.net>:
Extra info received and forwarded to list. Copy sent to Debian GCC maintainers <debian-gcc@lists.debian.org>, gcc-defaults@packages.qa.debian.org. (full text, mbox, link).


Message #15 received at 194196@bugs.debian.org (full text, mbox, reply):

From: Julien WAJSBERG <flash@minet.net>
To: 194196@bugs.debian.org
Subject: other problem with gcc 3.3
Date: Thu, 22 May 2003 20:48:37 +0200 (CEST)
Hello,

I get another problems using gcc 3.3, with a kernel 2.4.20 :

In file included from ide-cd.c:318:
ide-cd.h:440: error: long, short, signed or unsigned used invalidly for `slot_tablelen'

I think it's rather a kernel bug.. I say that here just in case that other
people encounter the same problem :)

-- 
Julien Wajsberg





Information forwarded to debian-bugs-dist@lists.debian.org, Debian GCC maintainers <debian-gcc@lists.debian.org>, gcc-defaults@packages.qa.debian.org:
Bug#194196; Package gcc. (full text, mbox, link).


Acknowledgement sent to "J.H.M. Dassen (Ray)" <fsmla@xinara.org>:
Extra info received and forwarded to list. Copy sent to Debian GCC maintainers <debian-gcc@lists.debian.org>, gcc-defaults@packages.qa.debian.org. (full text, mbox, link).


Message #20 received at 194196@bugs.debian.org (full text, mbox, reply):

From: "J.H.M. Dassen (Ray)" <fsmla@xinara.org>
To: 194196@bugs.debian.org
Cc: developer@telefonica.net, joseantonio.insua@hispalinux.es
Subject: Re: Bug#194196: Can't compile kernel 2.4.20
Date: Fri, 23 May 2003 07:16:46 +0200
On Wed, May 21, 2003 at 19:43:21 +0200, Jose Antonio Salgueiro wrote:
> Package: gcc
> Version: 3.3-1
> 
> Compiling kernel 2.4.20 

> net/network.o(.text+0xd887): In function `rtnetlink_rcv':
> : undefined reference to `rtnetlink_rcv_skb'
> make: *** [vmlinux] Error 1

This is fixed in 2.4.21-rc3:
	Summary of changes from v2.4.21-rc2 to v2.4.21-rc3
	============================================

	<bk@suse.de>:
	  o fix unresolved symbol rtnetlink_rcv_skb with gcc-3.3
	[...]
-- 
Linux is many, many years away from being an enterprise-ready operating
system that can compete with, and challenge, the Windows platform. There is
also no vision or driving force around it.
	Doug Miller, Microsoft Windows Server Group, january 2001



Merged 194196 194242. Request was from "Brian M. Carlson" <sandals@crustytoothpaste.ath.cx> to control@bugs.debian.org. (full text, mbox, link).


Reply sent to Matthias Klose <doko@cs.tu-berlin.de>:
You have taken responsibility. (full text, mbox, link).


Notification sent to developer@telefonica.net:
Bug acknowledged by developer. (full text, mbox, link).


Message #27 received at 194196-done@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@cs.tu-berlin.de>
To: Segher Boessenkool <segher@koffie.nl>, 194242-done@bugs.debian.org, 194196-done@bugs.debian.org
Cc: "Brian M. Carlson" <sandals@crustytoothpaste.ath.cx>, "Dr. David Alan Gilbert" <gilbertd@treblig.org>, Herbert Xu <herbert@gondor.apana.org.au>
Subject: Re: Bug#194242: acknowledged by developer (Re: Bug#194242: drivers/atm/ambassador.c:301:21: pasting "." and "start" does not give a valid preprocessing token)
Date: Sun, 1 Jun 2003 16:06:38 +0200
Closing these reports. Please submit bugs against the various kernel
source packages, either to fix the bug or to select a compiler, which
still accepts this coding style.

Segher Boessenkool writes:
> Brian M. Carlson wrote:
> >>The standard says this is undefined behaviour.  The code never "worked",
> >>but by pure accident produced the expected result.
> > 
> > The compiler is *permitted* to make demons fly out of my nose, but if it
> > did that, I'd file a bug on it asserting that it shouldn't do that
> > either. Saying that the code never worked is at best, pedantic, and at
> > worst, false. The code compiled with gcc 3.2 into an ELF relocatable and
> > fails to do so with gcc 3.3.
> 
> 3.2 (and some versions before it) warned that you shouldn't
> rely on this working.  Now, with 3.3, it indeed stopped working.
> This is neither a surprise nor a problem.
> 
> >>>If a .c file doesn't turn into a .o file, and it did with 3.2 [0], that's
> >>>a regression, and therefore a bug. You can argue for all eternity
> >>
> >>Not if it isn't a valid C source file.
> > 
> > Neither #warning nor #error are valid C syntax either. But I'm sure
> 
> #error _is_ valid C syntax.
> 
> > you'll find them in a great deal of C source files. Is it your
> > contention that gcc should outright reject every file which does not
> > comply with the C standard?
> 
> No, but it sure can't be expected to accept every erroneous
> construct and "do the right thing" with it, whatever that
> may be.
> 
>  > And if so, which version of the C standard is that?
> 
> The version that was specified on the command line, of course.
> 
>  > If not, what criteria are we to use to determine whether to
> > reject files which have syntax errors?
> 
> Every syntax error is a hard error.
> 
> > Are you trying to convince me that it is a case of sheer stupidity? I
> > don't think that's what's happening here.
> 
> You're trying hard to suggest it is, though.
> 
> 
> Segher
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Bug reopened, originator not changed. Request was from "Brian M. Carlson" <sandals@crustytoothpaste.ath.cx> to control@bugs.debian.org. (full text, mbox, link).


Bug reassigned from package `gcc' to `kernel'. Request was from "Brian M. Carlson" <sandals@crustytoothpaste.ath.cx> to control@bugs.debian.org. (full text, mbox, link).


Disconnected #194196 from all other report(s). Request was from Herbert Xu <herbert@gondor.apana.org.au> to control@bugs.debian.org. (full text, mbox, link).


Merged 194196 195129 195486. Request was from Herbert Xu <herbert@gondor.apana.org.au> to control@bugs.debian.org. (full text, mbox, link).


Tags added: pending Request was from Herbert Xu <herbert@gondor.apana.org.au> to control@bugs.debian.org. (full text, mbox, link).


Reply sent to Herbert Xu <herbert@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to developer@telefonica.net:
Bug acknowledged by developer. (full text, mbox, link).


Message #42 received at 194196-close@bugs.debian.org (full text, mbox, reply):

From: Herbert Xu <herbert@debian.org>
To: 194196-close@bugs.debian.org
Subject: Bug#194196: fixed in kernel-source-2.4.20 2.4.20-8
Date: Sat, 07 Jun 2003 09:02:49 -0400
We believe that the bug you reported is fixed in the latest version of
kernel-source-2.4.20, which is due to be installed in the Debian FTP archive:

kernel-doc-2.4.20_2.4.20-8_all.deb
  to pool/main/k/kernel-source-2.4.20/kernel-doc-2.4.20_2.4.20-8_all.deb
kernel-source-2.4.20_2.4.20-8.diff.gz
  to pool/main/k/kernel-source-2.4.20/kernel-source-2.4.20_2.4.20-8.diff.gz
kernel-source-2.4.20_2.4.20-8.dsc
  to pool/main/k/kernel-source-2.4.20/kernel-source-2.4.20_2.4.20-8.dsc
kernel-source-2.4.20_2.4.20-8_all.deb
  to pool/main/k/kernel-source-2.4.20/kernel-source-2.4.20_2.4.20-8_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 194196@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Herbert Xu <herbert@debian.org> (supplier of updated kernel-source-2.4.20 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----

Format: 1.7
Date: Sat,  7 Jun 2003 19:49:21 +1000
Source: kernel-source-2.4.20
Binary: kernel-source-2.4.20 kernel-doc-2.4.20
Architecture: source all
Version: 2.4.20-8
Distribution: unstable
Urgency: low
Maintainer: Herbert Xu <herbert@debian.org>
Changed-By: Herbert Xu <herbert@debian.org>
Description: 
 kernel-doc-2.4.20 - Linux kernel specific documentation for version 2.4.20.
 kernel-source-2.4.20 - Linux kernel source for version 2.4.20 with Debian patches
Closes: 194196 194435 195135
Changes: 
 kernel-source-2.4.20 (2.4.20-8) unstable; urgency=low
 .
   * Fixed mxcsr security hole in arch/i386/kernel/i387.c (2.5.70).
   * Fixed TIOCCONS and writing to /dev/console (2.4.21rc7):
     . drivers/char/tty_io.c
     . include/linux/tty.h
   * Fixed hashing exploits in fragment processing (2.4.21rc7).
   * Fixed slot_tablelen type in drivers/ide/ide-cd.h.
   * Use static inline in net/core/rtnetlink.c (closes: #194196).
   * Fixed multiline string literals:
     . drivers/scsi/aic7xxx/aic7xxx_osm.c
     . driver/net/tokenring/olympic.c
     . driver/net/wan/sdla_chdlc.c
     . fs/reiserfs/super.c
     . arch/i386/math-emu/poly.h
   * Setup two 1G mappings if cia_rev == 1 in arch/alpha/kernel/core_cia.c
     (closes: #195135).
   * Added bswap explanation to README.Debian.
   * Fixed some CPP pasting in drivers/atm/ambassador.c (David S. Miller).
   * Fixed cpp abuse in drivers/net/irda/ma600.c.
   * Fixed assembly specification in drivers/net/wan/sbni.c.
   * Fixed InitStruct member types in drivers/sound/cs46xx.c.
   * Use include/asm-ppc/unistd.h from 2.4.21-rc7 (closes: #194435).
   * Fixed nr_sects types in include/linux/mtd/nftl.h.
   * Fixed typos in drivers/net/fealnx.c.
Files: 
 5e6e029818fcf2750289f9618d0e2146 796 devel optional kernel-source-2.4.20_2.4.20-8.dsc
 43296f6ac3a02dc0f1706a56f5154fb0 95581 devel optional kernel-source-2.4.20_2.4.20-8.diff.gz
 db7c6e5a028771c1232a659f4900553e 1825436 doc optional kernel-doc-2.4.20_2.4.20-8_all.deb
 d13a15b9fbe377cdbaaa262dc0c7da17 27084670 devel optional kernel-source-2.4.20_2.4.20-8_all.deb

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQCVAwUBPuHIdIfMnsf5AzQhAQEeBQQAnA1dU0IjCfdqxABn1mhWZvC4AMOE9AVI
2np0iQG7mSKFPiDmK7SoUN6jW+q2ZAqRohj3K0S01/nl04JsdEyxHVzyF+fqnf4g
DaVhxE7ZZ8PtD/541ZJj7S8tEoYOyh/sfpW97XOGqjbL5rBehvlT8KeAD0t9D5wv
3FfypfmNT88=
=T16v
-----END PGP SIGNATURE-----




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jun 4 20:54:42 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.