From clamav-users-bounces@lists.clamav.net  Mon Dec 17 17:47:34 2007
Return-Path: <clamav-users-bounces@lists.clamav.net>
X-Original-To: list@tad.clamav.net
Delivered-To: list@tad.clamav.net
X-Virus-Scanned: Debian amavisd-new at tad.clamav.net
Received: from tad.clamav.net ([127.0.0.1])
	by localhost (tad.clamav.net [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id GlfLmq4DVan1; Mon, 17 Dec 2007 17:47:33 +0100 (CET)
Received: from tad.clamav.net (localhost.localdomain [127.0.0.1])
	by tad.clamav.net (Postfix) with ESMTP id A7FCC16C044;
	Mon, 17 Dec 2007 17:47:28 +0100 (CET)
X-Original-To: clamav-users@tad.clamav.net
Delivered-To: clamav-users@tad.clamav.net
X-Virus-Scanned: Debian amavisd-new at tad.clamav.net
Received: from tad.clamav.net ([127.0.0.1])
	by localhost (tad.clamav.net [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id nH8zvr4j0rYZ for <clamav-users@tad.clamav.net>;
	Mon, 17 Dec 2007 17:47:24 +0100 (CET)
Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156])
	by tad.clamav.net (Postfix) with ESMTP id B713216C016
	for <clamav-users@lists.clamav.net>;
	Mon, 17 Dec 2007 17:47:22 +0100 (CET)
Received: by fg-out-1718.google.com with SMTP id 22so269768fge.18
	for <clamav-users@lists.clamav.net>;
	Mon, 17 Dec 2007 08:47:22 -0800 (PST)
Received: by 10.86.51.2 with SMTP id y2mr6600609fgy.56.1197910042404;
	Mon, 17 Dec 2007 08:47:22 -0800 (PST)
Received: by 10.86.53.12 with HTTP; Mon, 17 Dec 2007 08:47:22 -0800 (PST)
Message-ID: <837a8ad10712170847q7876287eta936f45c686572b8@mail.gmail.com>
Date: Mon, 17 Dec 2007 08:47:22 -0800
From: "exo dia" <exodia@gmail.com>
To: clamav-users@lists.clamav.net
MIME-Version: 1.0
Content-Disposition: inline
X-Content-Filtered-By: Mailman/MimeDel 2.1.9
Subject: [Clamav-users] help, can't compile clamav-0.92 ("gcc bug")
X-BeenThere: clamav-users@lists.clamav.net
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: ClamAV users ML <clamav-users@lists.clamav.net>
List-Id: ClamAV users ML <clamav-users.lists.clamav.net>
List-Unsubscribe: <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users>,
	<mailto:clamav-users-request@lists.clamav.net?subject=unsubscribe>
List-Post: <mailto:clamav-users@lists.clamav.net>
List-Help: <mailto:clamav-users-request@lists.clamav.net?subject=help>
List-Subscribe: <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users>,
	<mailto:clamav-users-request@lists.clamav.net?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: clamav-users-bounces@lists.clamav.net
Errors-To: clamav-users-bounces@lists.clamav.net

Hi!

We are using Ubuntu 6.06 LTS (Dapper Drake) on x86 boxes, and 6.06 uses gcc
4.0.3...and as such, we cannot compile the new clamav-0.92:

    checking for a supported version of gcc... ok (4.0.3)
    checking for gcc bug PR27603... ok, bug not present
    checking for gcc bug PR28045... configure: error: your compiler has gcc
PR28045 bug, use a different compiler, see
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28045

How do you "use a different compiler"?  gcc 4.0.3 is what 6.06 LTS
provides...I don't know how to change this (??).

If I were to disable compiler optimizations in the clamav build, could I
work around this bug in gcc 4.0.3?  Which clamav file(s) have a problem with
this bug?

Thank you for any assistance!

--Ed
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

