Debian Bug report logs - #107994
doesn't build on Alpha: undefined reference to `$evaltreenr..ng'

version graph

Package: ash; Maintainer for ash is Andrej Shadura <andrewsh@debian.org>; Source for ash is src:dash (PTS, buildd, popcon).

Reported by: Falk Hueffner <falk@debian.org>

Date: Wed, 8 Aug 2001 02:48:01 UTC

Severity: serious

Found in version 0.3.8-20

Fixed in version ash/0.3.8-24

Done: Herbert Xu <herbert@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Herbert Xu <herbert@debian.org>:
Bug#107994; Package ash. (full text, mbox, link).


Acknowledgement sent to Falk Hueffner <falk@debian.org>:
New Bug report received and forwarded. Copy sent to Herbert Xu <herbert@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Falk Hueffner <falk@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: doesn't build on Alpha: undefined reference to `$evaltreenr..ng'
Date: Wed, 08 Aug 2001 04:39:10 +0200
Package: ash
Version: 0.3.8-20
Severity: serious

cc   -o sh alias.o cd.o echo.o error.o eval.o exec.o expand.o histedit.o input.o
 jobs.o mail.o main.o memalloc.o miscbltin.o mystring.o options.o parser.o print
f.o redir.o show.o trap.o output.o var.o test.o setmode.o times.o arith.o builti
ns.o init.o nodes.o signames.o syntax.o 
eval.o: In function `evalsubshell':
eval.o(.text+0xa40): undefined reference to `$evaltreenr..ng'
eval.o(.text+0xa40): relocation truncated to fit: BRADDR $evaltreenr..ng
collect2: ld returned 1 exit status
*** Error code 1

Stop.
make: *** [build-stamp] Error 1
debuild: fatal error at line 322:
dpkg-buildpackage failed!

This is pretty bad, because the ash that is currently in the archive
for Alpha is 0.3.8-20, which was severely broken and makes the boot
floppies unusable.

I don't understand this symbol magic; applying this patch helps, but I
have no idea if it is correct. If the point was only to save a few
bytes, one could perhaps try to present it to gcc in a way so it can
be inlined.

--- eval.c~     Wed Aug  8 04:26:16 2001
+++ eval.c      Wed Aug  8 04:33:41 2001
@@ -312,7 +312,9 @@
 }
 
 
-static void evaltreenr(union node *, int) __attribute__ ((alias("evaltree")));
+static void evaltreenr(union node *n, int flags) {
+    evaltree(n, flags);
+}
 
 
 STATIC void




-- System Information
Debian Release: testing/unstable
Architecture: alpha
Kernel: Linux borkum 2.4.7-ac5 #1 Sat Aug 4 00:02:49 CEST 2001 alpha
Locale: LANG=C, LC_CTYPE=de_DE

Versions of packages ash depends on:
ii  libc6.1                       2.2.3-7    GNU C Library: Shared libraries an




Reply sent to Herbert Xu <herbert@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Falk Hueffner <falk@debian.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #10 received at 107994-close@bugs.debian.org (full text, mbox, reply):

From: Herbert Xu <herbert@debian.org>
To: 107994-close@bugs.debian.org
Subject: Bug#107994: fixed in ash 0.3.8-24
Date: Wed, 08 Aug 2001 14:53:42 -0400
We believe that the bug you reported is fixed in the latest version of
ash, which has been installed in the Debian FTP archive:

ash_0.3.8-24.dsc
  to pool/main/a/ash/ash_0.3.8-24.dsc
ash-udeb_0.3.8-24_i386.udeb
  to pool/main/a/ash/ash-udeb_0.3.8-24_i386.udeb
ash_0.3.8-24.diff.gz
  to pool/main/a/ash/ash_0.3.8-24.diff.gz
ash_0.3.8-24_i386.deb
  to pool/main/a/ash/ash_0.3.8-24_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 107994@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Herbert Xu <herbert@debian.org> (supplier of updated ash package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----

Format: 1.7
Date: Wed,  8 Aug 2001 20:28:28 +1000
Source: ash
Binary: ash-udeb ash
Architecture: source i386
Version: 0.3.8-24
Distribution: unstable
Urgency: low
Maintainer: Herbert Xu <herbert@debian.org>
Changed-By: Herbert Xu <herbert@debian.org>
Description: 
 ash        - NetBSD /bin/sh
 ash-udeb   - NetBSD /bin/sh for boot floppies (udeb)
Closes: 107699 107994
Changes: 
 ash (0.3.8-24) unstable; urgency=low
 .
   * Handle SIGINT when waiting even if there is no trap (closes: #107699).
   * Protect all makejob/forkshell/waitforjobs sequences from SIGINT.
   * Work around gcc bug that generates bad ..ng references (closes: #107994).
Files: 
 ec820de31181138ea202d1dfd1e07848 709 shells optional ash_0.3.8-24.dsc
 f152278a72cb77be4fdc4a3c541cf47c 68356 shells optional ash_0.3.8-24.diff.gz
 9351fc105e5560eeb6eddf025cc74cb0 70214 shells optional ash_0.3.8-24_i386.deb
 2d6bf079807488b760789e6a89a56457 41030 debian-installer standard ash-udeb_0.3.8-24_i386.udeb

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBO3EXS4fMnsf5AzQhAQGGRgP8CJXJqe9MyaVqkZ+NHXmddmxGWnksJe5j
ndeDF+WNlRbeGGSHN0NQ4ou8/ClTaRkAiMGkO4n2Wevu1UohFsO4kRqe2vTZSmGv
S9dNvVM8f+BRlFlkNrIKCBWsx8hDvzb2ERRxs31/QE2Fs8JMtkLzO701dMTA2sAV
xhN8A1mIJKI=
=IK5p
-----END PGP SIGNATURE-----




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 16 01:37:08 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.