Your message dated Wed, 09 Nov 2011 17:34:17 +0000
with message-id <[email protected]>
and subject line Bug#648194: fixed in yforth 0.1beta-23
has caused the Debian Bug report #648194,
regarding Fails to build with -Wl,--as-needed
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
648194: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648194
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: yforth
Version: 0.1beta-22
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch precise

        Hi

 Ubuntu's toolchain is configured to set -Wl,--as-needed by default as
 to automatically strip superfluous ELF dependencies.  This change might
 be adopted to Debian in the future.

 yforth 0.1beta-22 fails to build with current Ubuntu toolchain setup; a
 simple "make" in the source tree fails with:
[...]
gcc -lm -o yforth block.o blocke.o core.o coree.o double.o doublee.o exceptio.o 
facility.o file.o filee.o float.o floate.o locals.o localse.o memall.o search.o 
searche.o string.o tools.o toolse.o udio.o vm.o ycore.o yfinit.o yforth.o 
yfvinit.o  
float.o: In function `_floor':
float.c:(.text+0x44d): undefined reference to `floorf'
float.o: In function `_f_round':
float.c:(.text+0x538): undefined reference to `floor'
[...]

 Prefixing -Wl,--no-as-needed to the gcc flags allows it to pass.

 The fix is to change Makefile as follows; instead of:
    $(CC) -o yforth $(OBJECTS) $(MATHLIB)
 use:
    $(CC) $(MATHLIB) -o yforth $(OBJECTS) $(MATHLIB)

 Attaching a debdiff to this effect.

   Thanks,
-- 
Loïc Minier
diff -u yforth-0.1beta/Makefile yforth-0.1beta/Makefile
--- yforth-0.1beta/Makefile
+++ yforth-0.1beta/Makefile
@@ -13,7 +13,7 @@
        string.h tools.h toolse.h udio.h ver.h ycore.h yforth.h 
 
 yforth: div.h $(OBJECTS)
-       $(CC) $(MATHLIB) -o yforth $(OBJECTS)
+       $(CC) -o yforth $(OBJECTS) $(MATHLIB)
 
 div.h: div
        ./div 
diff -u yforth-0.1beta/debian/changelog yforth-0.1beta/debian/changelog
--- yforth-0.1beta/debian/changelog
+++ yforth-0.1beta/debian/changelog
@@ -1,3 +1,10 @@
+yforth (0.1beta-23) UNRELEASED; urgency=low
+
+  [ Michael Bienia ]
+  * Makefile: Move $(MATHLIB) to the end of the linker call.
+
+ -- Loïc Minier <[email protected]>  Wed, 09 Nov 2011 15:19:53 +0100
+
 yforth (0.1beta-22) unstable; urgency=low
 
   * add Vcs entries to the control file

--- End Message ---
--- Begin Message ---
Source: yforth
Source-Version: 0.1beta-23

We believe that the bug you reported is fixed in the latest version of
yforth, which is due to be installed in the Debian FTP archive:

yforth_0.1beta-23.diff.gz
  to main/y/yforth/yforth_0.1beta-23.diff.gz
yforth_0.1beta-23.dsc
  to main/y/yforth/yforth_0.1beta-23.dsc
yforth_0.1beta-23_i386.deb
  to main/y/yforth/yforth_0.1beta-23_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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bdale Garbee <[email protected]> (supplier of updated yforth 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 09 Nov 2011 10:22:29 -0700
Source: yforth
Binary: yforth
Architecture: source i386
Version: 0.1beta-23
Distribution: unstable
Urgency: low
Maintainer: Bdale Garbee <[email protected]>
Changed-By: Bdale Garbee <[email protected]>
Description: 
 yforth     - small freeware Forth environment in ANSI C
Closes: 648194
Changes: 
 yforth (0.1beta-23) unstable; urgency=low
 .
   * patch from Michael Bienia via Loc Minier that moves $(MATHLIB) to the
     end of the linker call, closes: #648194
Checksums-Sha1: 
 60008bb4f7aae5add9d58798192b8543b4a4a6a7 1715 yforth_0.1beta-23.dsc
 459ee5341ef939aabe30be423e13c95955caddfe 7236 yforth_0.1beta-23.diff.gz
 8b55880c0fabba4f477da846b47f50fb8edbc616 33182 yforth_0.1beta-23_i386.deb
Checksums-Sha256: 
 3e33e44d41bb0bb8250db2432723696b8d71ec6eb83696b9ab954013fe79bd8c 1715 
yforth_0.1beta-23.dsc
 36839212d54de4778a70655aa06a4da5e6f2d17624d27e3902bc1e8b80641392 7236 
yforth_0.1beta-23.diff.gz
 987d1e90b7ce116440fcb82e6f4ad25332acb4324419df395523f86e059919dc 33182 
yforth_0.1beta-23_i386.deb
Files: 
 2227118aa9d1fa53b999799a0fc4a482 1715 interpreters optional 
yforth_0.1beta-23.dsc
 ae0812e08a0d0d84155c3e63c35b560d 7236 interpreters optional 
yforth_0.1beta-23.diff.gz
 f6f3191314cc5d85a0b3f0c3d56ee317 33182 interpreters optional 
yforth_0.1beta-23_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIVAwUBTrq30TqTYZbAldlBAQq18A/+McnwEV0uw4zmoErMr3j82nLWyQVAtTpf
b3lBo35gnoVL1c4+IuRvmgM0KRv6BsLRZm6jPci0UMwWb5SEAH081gRKIkXmFz+d
VhXevuPqiYo/CV/ex3WKaY8wH/ha9VAN52IhizqEl73UAfhPbgOp5xbVaBu4ZWZx
rvJXFholK9C181q/77qjK1VRpoYJF2vdFNKVwBJji9vCzDnU6dJBvJQnR/SJEL6x
GLKXiZz++8Ho5QB3dkK6i8j3E55ugtKpGeqcZ9oxkoMrFgL+SL5HVNerJVHxCLfD
cVeYGpYiM80boAP/AOzykbtMIL4SbX1a1cTtNVbiViGW+fjEA/iWw+Zd2eQkifk4
4o3GKhBotfOW3OmBIylD20cPDKQdaDQu5o4YPxnoo1KsOSo9UKOAE269zk9a/HB6
6b8luFE9IRkXv7nTlpNf/NF+tH9drl+qbg9toy3zvWP/HZk90/uahJ2Ch5jqNhzX
QWmG+gF3agTDHtBi9POxD6TxZhhbNvMKAAaPQF/ygtUmjWWptgzl4ob1ROoTFzmZ
m9HAij1JiUBAJXtw3eIt+iD0aJ1pwKyVEamGEsSsNXPwG8rcmv56nA0oCseVI8xL
ziyFFgWIJIClPVa/kK0WVWGLqp64J8zKbQPCre3Jsw9jPo+M1GqczswTGUsCFJAd
U6Ru6+y1QN8=
=Wz/f
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to