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

Bug#526933: marked as done (gcc-4.3 fails to compile inline functions in kernel 2.6.15.7)



Your message dated Mon, 4 May 2009 16:55:02 +0200
with message-id <20090504145502.GA4032@wavehammer.waldi.eu.org>
and subject line Re: Bug#526933: gcc-4.3 fails to compile inline functions in kernel 2.6.15.7
has caused the Debian Bug report #526933,
regarding gcc-4.3 fails to compile inline functions in kernel 2.6.15.7
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
526933: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526933
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gcc-4.3
Version: 4.3.2-1.1
Severity: normal

This version of gcc compiles vanilla kernel 2.6.29.2 properly. When compiling vanilla kernel 2.6.15.7, the compiler aborts at many inline functions such as:

'generic_write_checks' in mm/filemap.c
'init_page_buffers' in fs/buffer.c

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (1001, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.29.2
Locale: LANG=zh_TW.Big5, LC_CTYPE=zh_TW.Big5 (charmap=BIG5)
Shell: /bin/sh linked to /bin/bash

Versions of packages gcc-4.3 depends on:
ii  binutils            2.18.1~cvs20080103-7 The GNU assembler, linker and bina
ii  cpp-4.3             4.3.2-1.1            The GNU C preprocessor
ii  gcc-4.3-base        4.3.2-1.1            The GNU Compiler Collection (base 
ii  libc6               2.7-18               GNU C Library: Shared libraries
ii  libgcc1             1:4.3.2-1.1          GCC support library
ii  libgomp1            4.3.2-1.1            GCC OpenMP (GOMP) support library

Versions of packages gcc-4.3 recommends:
ii  libc6-dev                     2.7-18     GNU C Library: Development Librari

Versions of packages gcc-4.3 suggests:
pn  gcc-4.3-doc                   <none>     (no description available)
ii  gcc-4.3-locales               4.3.2-1.1  The GNU C compiler (native languag
pn  gcc-4.3-multilib              <none>     (no description available)
pn  libgcc1-dbg                   <none>     (no description available)
pn  libgomp1-dbg                  <none>     (no description available)
pn  libmudflap0-4.3-dev           <none>     (no description available)
pn  libmudflap0-dbg               <none>     (no description available)

-- no debconf information


-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (1001, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.29.2
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages gcc-4.3 depends on:
ii  binutils            2.18.1~cvs20080103-7 The GNU assembler, linker and bina
ii  cpp-4.3             4.3.2-1.1            The GNU C preprocessor
ii  gcc-4.3-base        4.3.2-1.1            The GNU Compiler Collection (base 
ii  libc6               2.7-18               GNU C Library: Shared libraries
ii  libgcc1             1:4.3.2-1.1          GCC support library
ii  libgomp1            4.3.2-1.1            GCC OpenMP (GOMP) support library

Versions of packages gcc-4.3 recommends:
ii  libc6-dev                     2.7-18     GNU C Library: Development Librari

Versions of packages gcc-4.3 suggests:
pn  gcc-4.3-doc                   <none>     (no description available)
ii  gcc-4.3-locales               4.3.2-1.1  The GNU C compiler (native languag
pn  gcc-4.3-multilib              <none>     (no description available)
pn  libgcc1-dbg                   <none>     (no description available)
pn  libgomp1-dbg                  <none>     (no description available)
pn  libmudflap0-4.3-dev           <none>     (no description available)
pn  libmudflap0-dbg               <none>     (no description available)

-- no debconf information
==gcc -v=======
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1.1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-cld --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.2 (Debian 4.3.2-1.1) 

==make 2.6.15.7===
  CC      mm/filemap.o
mm/filemap.c: In function '__generic_file_aio_write_nolock':
mm/filemap.c:1763: sorry, unimplemented: inlining failed in call to 'generic_write_checks': function body not available
mm/filemap.c:2058: sorry, unimplemented: called from here
make[1]: *** [mm/filemap.o] Error 1
make: *** [mm] Error 2

==make 2.6.15.7===
  CC      fs/buffer.o
fs/buffer.c: In function 'init_page_buffers':
fs/buffer.c:52: sorry, unimplemented: inlining failed in call to 'init_buffer': function body not available
fs/buffer.c:1097: sorry, unimplemented: called from here
make[1]: *** [fs/buffer.o] Error 1
make: *** [fs] Error 2

--- End Message ---
--- Begin Message ---
On Mon, May 04, 2009 at 10:14:34PM +0800, CN wrote:
> This version of gcc compiles vanilla kernel 2.6.29.2 properly. When compiling vanilla kernel 2.6.15.7, the compiler aborts at many inline functions such as:

gcc 4.3 was not available the time 2.6.15 was released. So only a bug in
Linux, which is already fixed. Use a old compiler, like gcc 4.1.

Bastian

-- 
If I can have honesty, it's easier to overlook mistakes.
		-- Kirk, "Space Seed", stardate 3141.9


--- End Message ---

Reply to: