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

Bug#387765: Error: unknown pseudo-op: `.weakref' for every program

Package: g++-4.1
Version: 4.1.1-13
Severity: normal

I can't compile *any* C++ program with gcc-4.1.1. Even a trivial program like

#include <iostream>
int main()
   std::cout << "Hello World";
   return 0;

results, when called with 'g++ hello.cpp', in

/tmp/ccHGtEjK.s: Assembler messages:
/tmp/ccHGtEjK.s:89: Error: unknown pseudo-op: `.weakref'
/tmp/ccHGtEjK.s:90: Error: unknown pseudo-op: `.weakref'
[and many more].

This looks very much like bug #342484 - but I'm using the latest version
of binutils available in unstable: 2.17-2

gcc-4.0 works fine.

I have this problem for several weeks now, perhaps since the introduction
of gcc-4.1.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages g++-4.1 depends on:
ii  gcc-4.1                      4.1.1-13    The GNU C compiler
ii  gcc-4.1-base                 4.1.1-13    The GNU Compiler Collection (base 
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libstdc++6-4.1-dev           4.1.1-13    The GNU Standard C++ Library v3 (d

g++-4.1 recommends no packages.

-- no debconf information

Reply to: