Bug#246330: marked as done (libglib2.0-dev: Byteswapping is not optimized on P4)

Debian Bug Tracking System owner@bugs.debian.org
Fri, 04 Jun 2004 15:48:08 -0700


Your message dated Sat, 05 Jun 2004 00:43:26 +0200
with message-id <1086389006.4549.11.camel@seb128>
and subject line libglib2.0-dev: Byteswapping is not optimized on P4
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; 28 Apr 2004 13:25:51 +0000
>From gombasg@boogie.lpds.sztaki.hu Wed Apr 28 06:25:51 2004
Return-path: <gombasg@boogie.lpds.sztaki.hu>
Received: from boogie.lpds.sztaki.hu [193.225.12.226] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BIp4Q-0002Bt-00; Wed, 28 Apr 2004 06:25:51 -0700
Received: by boogie.lpds.sztaki.hu (Postfix, from userid 1000)
	id 900E91E61D; Wed, 28 Apr 2004 15:25:48 +0200 (CEST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Gabor Gombas <gombasg@sztaki.hu>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libglib2.0-dev: Byteswapping is not optimized on P4
X-Mailer: reportbug 2.58
Date: Wed, 28 Apr 2004 15:25:48 +0200
Message-Id: <20040428132548.900E91E61D@boogie.lpds.sztaki.hu>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1

Package: libglib2.0-dev
Version: 2.4.0-2
Severity: minor
Tags: sid experimental patch

Hi,

GUINT32_SWAP_LE_BE_IA32 does not use bswap when compiling for P4. Fix
(should also work for glib-2.2.3 in Sid):

--- gtypes.h.orig	2004-03-24 01:19:06.000000000 +0100
+++ gtypes.h	2004-04-28 15:13:31.000000000 +0200
@@ -156,7 +156,7 @@
 	    __v; }))
 #    if !defined (__i486__) && !defined (__i586__) \
 	&& !defined (__pentium__) && !defined (__i686__) \
-	&& !defined (__pentiumpro__)
+	&& !defined (__pentiumpro__) && !defined(__pentium4__)
 #       define GUINT32_SWAP_LE_BE_IA32(val) \
 	  (__extension__					\
 	   ({ register guint32 __v, __x = ((guint32) (val));	\

Gabor

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.5
Locale: LANG=C, LC_CTYPE=hu_HU

Versions of packages libglib2.0-dev depends on:
ii  libc6-dev [libc-dev]        2.3.2.ds1-12 GNU C Library: Development Librari
ii  libglib2.0-0                2.4.0-2      The GLib library of C routines
ii  pkg-config                  0.15.0-4     Manage compile and link flags for 

-- no debconf information

---------------------------------------
Received: (at 246330-done) by bugs.debian.org; 4 Jun 2004 22:43:57 +0000
>From seb128@debian.org Fri Jun 04 15:43:57 2004
Return-path: <seb128@debian.org>
Received: from smtp1.wanadoo.fr (mwinf0101.wanadoo.fr) [193.252.22.30] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BWNPp-0005XV-00; Fri, 04 Jun 2004 15:43:57 -0700
Received: from seb128 (AStrasbourg-206-1-25-211.w81-51.abo.wanadoo.fr [81.51.50.211])
	by mwinf0101.wanadoo.fr (SMTP Server) with ESMTP id 5DF60C00015E
	for <246330-done@bugs.debian.org>; Sat,  5 Jun 2004 00:43:26 +0200 (CEST)
Received: from seb128 by seb128 with local (Exim 3.36 #1 (Debian))
	id 1BWNPK-0003n7-00
	for <246330-done@bugs.debian.org>; Sat, 05 Jun 2004 00:43:26 +0200
Subject: Re: libglib2.0-dev: Byteswapping is not optimized on P4
From: Sebastien Bacher <seb128@debian.org>
To: 246330-done@bugs.debian.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Date: Sat, 05 Jun 2004 00:43:26 +0200
Message-Id: <1086389006.4549.11.camel@seb128>
Mime-Version: 1.0
X-Mailer: Evolution 1.5.8 
Sender: Sebastien Bacher <seb128@debian.org>
Delivered-To: 246330-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-1.8 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

> GUINT32_SWAP_LE_BE_IA32 does not use bswap when compiling for P4. Fix
> (should also work for glib-2.2.3 in Sid):

This bug is fixed in glib 2.4.1 in unstable, I'm closing it.


Cheers,

Sebastien Bacher