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

Bug#476645: marked as done (gcc-4.2: -m32 switch broken?)



Your message dated Fri, 25 Apr 2008 12:25:06 +0200
with message-id <18449.45442.998625.71735@gargle.gargle.HOWL>
and subject line Re: Bug#476645: extra information
has caused the Debian Bug report #476645,
regarding gcc-4.2: -m32 switch broken?
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.)


-- 
476645: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476645
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gcc-4.2
Version: 4.2.3-3
Severity: normal


See the following code:

#include <stdio.h>

int main (void){
  puts ("Hallo Welt");
  return 0;
}

compiling with gcc-4.2 (in 64-bit mode gives no error and just runs)
hello% gcc-4.2 hello.c
frido@fvl:~/programming/C/hello% ./a.out 
Hallo Welt

But if I use the -m32 switch I got:

 gcc-4.2 -m32 hello.c
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.3/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.3/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: cannot find -lgcc_s
collect2: ld gab 1 als Ende-Status zurück

I'm not suprised because in the that directory one can find 
a 32 subdirectory and there one can find the proper files. So this is some kind of problem


With best regards
Friedrich



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gcc-4.2 depends on:
ii  binutils            2.18.1~cvs20080103-4 The GNU assembler, linker and bina
ii  cpp-4.2             4.2.3-3              The GNU C preprocessor
ii  gcc-4.2-base        4.2.3-3              The GNU Compiler Collection (base 
ii  libc6               2.7-10               GNU C Library: Shared libraries
ii  libgcc1             1:4.3.0-3            GCC support library

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

-- no debconf information



--- End Message ---
--- Begin Message ---
tag 476645 + unreproducible
thanks

Friedrich Dominicus writes:
> Ok, I spend another few hours on this problem, it seems this is a
> problem with the package management. I reinstalled  complete fresh
> Debian distribution but just choose a a 2.6.22 Kernel, I rebuild this
> kernel here and used 4.2 vor compiling this kernel. Then I installed
> the gcc-4.2-multilib also and now the bug is gone. But it's still
> there on another machine running a 2.6.24 Kerrnel, although gcc-4.2
> lib was installed there also. So I guess during dist-upgrade or such,
> the bug was introduced. 

closing the report. please feel free to reassign/reopen if it can be
reproduced.


--- End Message ---

Reply to: