From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20544 invoked by alias); 16 Dec 2011 19:03:58 -0000 Received: (qmail 20536 invoked by uid 22791); 16 Dec 2011 19:03:57 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM X-Spam-Check-By: sourceware.org Received: from mail-ee0-f47.google.com (HELO mail-ee0-f47.google.com) (74.125.83.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 16 Dec 2011 19:03:42 +0000 Received: by eeit10 with SMTP id t10so65574eei.20 for ; Fri, 16 Dec 2011 11:03:41 -0800 (PST) Received: by 10.213.26.152 with SMTP id e24mr561744ebc.48.1324062221422; Fri, 16 Dec 2011 11:03:41 -0800 (PST) Received: from kicer.localnet (host-5db0eeee.sileman.net.pl. [93.176.238.238]) by mx.google.com with ESMTPS id z54sm573604eeh.5.2011.12.16.11.03.40 (version=SSLv3 cipher=OTHER); Fri, 16 Dec 2011 11:03:40 -0800 (PST) From: "=?utf-8?B?TWljaGHFgg==?= Walenciak" To: gcc-help@gcc.gnu.org Subject: discarded section Date: Fri, 16 Dec 2011 19:03:00 -0000 Message-ID: <189158364.NyyNZYsQJ2@kicer> User-Agent: KMail/4.7.4 (Linux/3.1.4-desktop-2.mga2; KDE/4.7.4; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-12/txt/msg00128.txt.bz2 Hi I'm trying to compile a big project with gcc 4.6.2. At link time I get errors like: `.text._ZN11ChatDetailsD2Ev' referenced in section=20 `.text._ZN11ChatDetailsD1Ev[non-virtual thunk to ChatDetails::~ChatDetails(= )]'=20 of chat/libchat.a(moc_chat-details.cxx.o): defined in discarded section=20 `.text._ZN11ChatDetailsD2Ev[_ZN11ChatDetailsD5Ev]' of chat/libchat.a(moc_ch= at- details.cxx.o) What is the reason of it? How can it be fixed? Project was compileable with gcc 4.5.x regards --=20 Micha=C5=82 Walenciak gmail.com kicer86 http://kicer.sileman.net.pl gg: 3729519