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

Bug#222777: marked as done (/usr/include/asm/byteorder.h:56: error: parse error before ':' token)



Your message dated Sat, 3 Jan 2004 12:46:47 -0500
with message-id <20040103174647.GB12532@nevyn.them.org>
and subject line Bug#222777: /usr/include/asm/byteorder.h:56: error: parse error before ':' token
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 3 Dec 2003 03:32:00 +0000
>From leo@fenix.spilchile.cl Tue Dec 02 21:31:58 2003
Return-path: <leo@fenix.spilchile.cl>
Received: from as5300-1xnew-019.cnt.entelchile.net (fenix.spilchile.cl) [200.72.74.29] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1ARNk6-00010G-00; Tue, 02 Dec 2003 21:31:58 -0600
Received: by fenix.spilchile.cl (Postfix, from userid 500)
	id 8429E757D1; Wed,  3 Dec 2003 00:31:51 -0300 (CLST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Leonardo Soto <leonardosoto@tutopia.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: /usr/include/asm/byteorder.h:56: error: parse error before ':' token
X-Mailer: reportbug 2.36
Date: Wed, 03 Dec 2003 00:31:51 -0300
Message-Id: <20031203033151.8429E757D1@fenix.spilchile.cl>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_11_20 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-4.0 required=4.0 tests=BAYES_70,HAS_PACKAGE 
	autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_11_20
X-Spam-Level: 

Package: linux-kernel-headers
Version: 2.5.999-test7-bk-9
Severity: normal


Compiling KDE from CVS, i got the following message:

In file included from /usr/include/linux/cdrom.h:14
                 from plat_linux_cdda.c:43:
/usr/include/asm/byteorder.h: In function '___arch__swab64':
/usr/include/asm/byteorder.h:56: error: parse error before ':' token

The relevant part from plat_linux_cdda.c is:

#ifndef __GNUC__
#define __GNUC__ 1
#endif
#undef __STRICT_ANSI__
#include <asm/types.h>
/* ugly workaround for broken glibc shipped in SuSE 9.0 */
#define inline __inline__
#include <linux/cdrom.h>
#undef inline

And the referenced (buggy?) line from byteorder.h:

asm("xchgl %0,%1" : "=r" (v.s.a), "=r" (v.s.b) : "0" (v.s.a),"1" (v.s.b));

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux fenix 2.6.0-test9leo #1 Thu Nov 13 14:06:27 CLST 2003 i686
Locale: LANG=es_CL, LC_CTYPE=es_CL (ignored: LC_ALL set to C)

-- no debconf information


---------------------------------------
Received: (at 222777-done) by bugs.debian.org; 4 Jan 2004 02:09:43 +0000
>From drow@crack.them.org Sat Jan 03 20:09:42 2004
Return-path: <drow@crack.them.org>
Received: from nevyn.them.org [66.93.172.17] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AcprM-0006UP-00; Sat, 03 Jan 2004 11:46:48 -0600
Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian))
	id 1AcprL-0003HM-PJ
	for <222777-done@bugs.debian.org>; Sat, 03 Jan 2004 12:46:47 -0500
Date: Sat, 3 Jan 2004 12:46:47 -0500
From: Daniel Jacobowitz <dan@debian.org>
To: 222777-done@bugs.debian.org
Subject: Re: Bug#222777: /usr/include/asm/byteorder.h:56: error: parse error before ':' token
Message-ID: <20040103174647.GB12532@nevyn.them.org>
References: <20031203033151.8429E757D1@fenix.spilchile.cl> <20031203235239.GA32686@nevyn.them.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20031203235239.GA32686@nevyn.them.org>
User-Agent: Mutt/1.5.1i
Delivered-To: 222777-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2004_1_3 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2004_1_3
X-Spam-Level: 

On Wed, Dec 03, 2003 at 06:52:39PM -0500, Daniel Jacobowitz wrote:
> On Wed, Dec 03, 2003 at 12:31:51AM -0300, Leonardo Soto wrote:
> > Package: linux-kernel-headers
> > Version: 2.5.999-test7-bk-9
> > Severity: normal
> > 
> > 
> > Compiling KDE from CVS, i got the following message:
> > 
> > In file included from /usr/include/linux/cdrom.h:14
> >                  from plat_linux_cdda.c:43:
> > /usr/include/asm/byteorder.h: In function '___arch__swab64':
> > /usr/include/asm/byteorder.h:56: error: parse error before ':' token
> > 
> > The relevant part from plat_linux_cdda.c is:
> > 
> > #ifndef __GNUC__
> > #define __GNUC__ 1
> > #endif
> > #undef __STRICT_ANSI__
> > #include <asm/types.h>
> > /* ugly workaround for broken glibc shipped in SuSE 9.0 */
> > #define inline __inline__
> > #include <linux/cdrom.h>
> > #undef inline
> > 
> > And the referenced (buggy?) line from byteorder.h:
> > 
> > asm("xchgl %0,%1" : "=r" (v.s.a), "=r" (v.s.b) : "0" (v.s.a),"1" (v.s.b));
> 
> This is an absolutely, wildly, crazily dumb way to work around a broken
> header.  Remove the #undef, and either linux-kernel-headers will work
> or the next version uploaded will when uploads are re-enabled.
> 
> I believe Debian kde packages have already removed the #undef.

KSCD is fixed, so this bug can be closed now.  The kernel headers are
correct.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



Reply to: