Your message dated Mon, 17 Nov 2003 11:03:27 -0800
with message-id <[EMAIL PROTECTED]>
and subject line C++ ABI change since then.
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; 25 Mar 1999 00:47:57 +0000
Received: (qmail 27330 invoked from network); 25 Mar 1999 00:47:56 -0000
Received: from c12465-001.powersurfr.com (HELO Wakko.deltatee.com) ([EMAIL PROTECTED])
by master.debian.org with SMTP; 25 Mar 1999 00:47:56 -0000
Received: from jgg by Wakko.deltatee.com with local (Exim 2.05 #1)
id 10PyJO-0000LS-00 (Debian); Wed, 24 Mar 1999 17:47:54 -0700
From: Jason Gunthorpe <[EMAIL PROTECTED]>
Subject: libc6: C++ incompatibility bug
To: [EMAIL PROTECTED]
X-Mailer: bug 3.1.7
Message-Id: <[EMAIL PROTECTED]>
Sender: "Jason Gunthorpe,,," <[EMAIL PROTECTED]>
Date: Wed, 24 Mar 1999 17:47:54 -0700
Package: libc6
Version: 2.1.1-0.1
I have created a test case derived from the code in APT that when runs on
glibc 2.1 without recompilation fails. The test case is very simple:
#include <iostream>
#include <fstream>
void die(const char *S)
{
cerr << S << endl;
exit(1);
}
int main(int argc,const char *argv[])
{
ifstream F(argv[1],ios::in | ios::nocreate);
if (!F != 0)
die("!F #1");
streampos Off = F.tellg();
if (!F != 0)
die("!F #2");
return 0;
}
Results on glibc2.1 using 2.0 compiled binary..
[..]
open("/var/state/apt/lists/mirror_debian_dists_potato_main_binary-i386_Packages",O_RDONLY)=3
fstat(3, {st_mode=0, st_size=0, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40014000
_llseek(3, 4294967296, 0xbffffb10, 0x4016521c /* SEEK_??? */) = -1 EINVAL
(Invalid argument)
write(2, "!F #2", 5!F #2) = 5
write(2, "\n", 1
) = 1
_exit(1) = ?
Results on glibc2.1 using a 2.1 compiled binary..
[..]
open("/var/state/apt/lists/mirror_debian_dists_potato_main_binary-i386_Packages",O_RDONLY|0x8000)=3
fstat(3, {st_mode=0, st_size=0, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40014000
_llseek(3, 0, {0}, SEEK_CUR) = 0
close(3) = 0
munmap(0x40014000, 4096) = 0
_exit(0) = ?
The key difference appears to be in how llseek is called. I belive that if
this is fixed APT 0.1.10 will run without recompilation on glibc2.1.
This bug may be related to #34953
Jason
---------------------------------------
Received: (at 35023-done) by bugs.debian.org; 17 Nov 2003 19:11:27 +0000
>From [EMAIL PROTECTED] Mon Nov 17 13:10:30 2003
Return-path: <[EMAIL PROTECTED]>
Received: from marge.v3.ca [216.66.20.89]
by master.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1ALolZ-0001hw-00; Mon, 17 Nov 2003 13:10:29 -0600
Received: from marge.v3.ca (localhost [127.0.0.1])
by marge.v3.ca (8.12.10/8.12.10/Debian-0) with ESMTP id hAHJ3RNQ015625
for <[EMAIL PROTECTED]>; Mon, 17 Nov 2003 11:03:27 -0800
Received: (from [EMAIL PROTECTED])
by marge.v3.ca (8.12.10/8.12.10/Debian-0) id hAHJ3Rmm015617
for [EMAIL PROTECTED]; Mon, 17 Nov 2003 11:03:27 -0800
X-Authentication-Warning: marge.v3.ca: jbailey set sender to [EMAIL PROTECTED] using -f
Date: Mon, 17 Nov 2003 11:03:27 -0800
From: Jeff Bailey <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: C++ ABI change since then.
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.4i
X-EMSscan-MailScanner: Found to be clean
X-EMSscan-MailScanner-SpamCheck: not spam, SpamAssassin (score=-9.009,
required 5, BAYES_00 -4.90, USER_AGENT_MUTT -4.11)
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=0.0 required=4.0
tests=none
version=2.53-bugs.debian.org_2003_11_15
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_11_15
(1.174.2.15-2003-03-30-exp)
Since this bug has been reported, there has been a C++ ABI change. All
C++ apps need to be recompiled anyway to work on a modern system.
Tks,
Jeff Bailey
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]