Your message dated Thu, 20 Jan 2011 08:32:31 +0000
with message-id <[email protected]>
and subject line Bug#607613: fixed in u-boot 2010.12-2
has caused the Debian Bug report #607613,
regarding Dealing with -Wl,foo LDFLAGS
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.)
--
607613: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=607613
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: u-boot
Version: 2010.12~rc2-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: origin-ubuntu natty ubuntu-patch
Hey there
The u-boot build passes LDFLAGS from the environment straight to ld,
not to gcc as in e.g. automake builds. This means that if you include
a -Wl,foo in LDFLAGS, ld will barf:
ld: unrecognized option '-Wl,foo'
this happens to hit Ubuntu which sets LDFLAGS to
-Wl,-Bsymbolic-functions in dpkg-buildpackage pre-build environment
(to the dpkg-buildflags returned value).
(This problem currently only affects Ubuntu, but it would be nice to
fix it in Debian to avoid a permanent diff with Ubuntu and for people
rebuilding Debian sources, including u-boot, with custom LDFLAGS.)
There are IMO three ways to fix this:
* filter / fix problematic LDFLAGS on a per-package basis; this is the
rules snipped I added to the Ubuntu x-loader and u-boot packages:
# the upstream build passes LDFLAGS directly to ld instead of calling gcc for
# linking; so instead of passing -Wl,foo in LDFLAGS as in automake builds, one
# should set LDFLAGS to foo directly
comma := ,
LDFLAGS := $(patsubst -Wl$(comma)%,%,$(LDFLAGS))
* or you can unset LDFLAGS, assuming that this piece of code is too
special that distro-wide LDFLAGS usually don't apply (for instance
the Ubuntu kernel build ignores CFLAGS and LDFLAGS from the
environment because they are mostly for userspace)
* change the upstream build process to call cc for linking; I'm not
sure how open upstream would be to this though, and this needs
testing with other compilers
Cheers,
--
Loïc Minier
--- End Message ---
--- Begin Message ---
Source: u-boot
Source-Version: 2010.12-2
We believe that the bug you reported is fixed in the latest version of
u-boot, which is due to be installed in the Debian FTP archive:
u-boot-tools_2010.12-2_amd64.deb
to main/u/u-boot/u-boot-tools_2010.12-2_amd64.deb
u-boot_2010.12-2.debian.tar.gz
to main/u/u-boot/u-boot_2010.12-2.debian.tar.gz
u-boot_2010.12-2.dsc
to main/u/u-boot/u-boot_2010.12-2.dsc
u-boot_2010.12-2_amd64.deb
to main/u/u-boot/u-boot_2010.12-2_amd64.deb
uboot-mkimage_2010.12-2_all.deb
to main/u/u-boot/uboot-mkimage_2010.12-2_all.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.
Loïc Minier <[email protected]> (supplier of updated u-boot 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: SHA1
Format: 1.8
Date: Mon, 17 Jan 2011 22:43:41 +0100
Source: u-boot
Binary: u-boot u-boot-tools uboot-mkimage
Architecture: source amd64 all
Version: 2010.12-2
Distribution: unstable
Urgency: low
Maintainer: Clint Adams <[email protected]>
Changed-By: Loïc Minier <[email protected]>
Description:
u-boot - A boot loader for embedded systems
u-boot-tools - companion tools for Das U-Boot
uboot-mkimage - generate kernel image for U-Boot (transitional package)
Closes: 607613 607618 608801
Changes:
u-boot (2010.12-2) unstable; urgency=low
.
* Avoid calling dpkg-architecture if DEB_HOST_ARCH is set.
* Misc refactoring of debian/rules.
- Split per architecture list of platform and targets into
debian/targets.
- Actually use INSTALL_FILE/INSTALL_DIR/INSTALL_PROGRAM.
- Add support for cross-builds; these will currently lack tools.
- Build board-specific u-boot files in a separate build dir from the
generic tools
* Fix handling of -Wl,foo LDFLAGS; the upstream build passes LDFLAGS
directly to ld instead of calling gcc for linking; so instead of passing
-Wl,foo in LDFLAGS as in automake builds, one should set LDFLAGS to foo
directly; add a snippet to strip -Wl, from LDFLAGS; alternatively, we
could do as in other special packages like the kernel and simply unset
LDFLAGS entirely; closes: #607613.
* Install and compress upstream mkimage manpage; based on a patch by
Marcin Juszkiewicz.
* Add a dummy uboot-mkimage package for upgrades from squeeze; based on a
patch by Marcin Juszkiewicz; closes: #607618.
* Add new patch, fix-definition-of-global_data-struct, from the upstream
x86 maintainer; fixes build of eNET board which breaks u-boot's build on
i386; closes: #608801.
* Workaround an upstream bug in distclean by removing include/asm/proc and
/arch explicitly for now; patch was sent upstream.
* Don't repeat Section: in binary package.
* Add myself to Uploaders.
* Split tools in u-boot-tools package.
* Drop board-specific tools; these are too dangerous; only ship mkimage for
now.
* Add igep0020 and omap3_beagle builds on armel
* Update snapshot.commit to the 2010.12 release contents; this avoids a
pointless diff with the tarball.
Checksums-Sha1:
ce40dc988e4e87820b93f2110a284b780de1e7de 1184 u-boot_2010.12-2.dsc
a7685ee7d66fab45810c30a12f609bf0e9c05d3f 26452 u-boot_2010.12-2.debian.tar.gz
642748b825cf015ff25693712d6e4ea066c03f64 14056 u-boot_2010.12-2_amd64.deb
ade48f5898369be4c772c85bf3b9e1432a546947 46964 u-boot-tools_2010.12-2_amd64.deb
684919b519896347550189aa64047bf0d75d3741 13534 uboot-mkimage_2010.12-2_all.deb
Checksums-Sha256:
5710fab8b9c439b09be0621380813cb36e4b4fab0882611000f1d3cdee476600 1184
u-boot_2010.12-2.dsc
a373ca507190c2a8d724ae101b3310e20eea380e7fa579fd5d436b4cfaa94935 26452
u-boot_2010.12-2.debian.tar.gz
2d61d7fb3e2a8d45da7c7793523f0902f56fc5ee71108f4a87dc69ab45403251 14056
u-boot_2010.12-2_amd64.deb
421916886ec4122e4fa92ae36c30971593d0083797943fa76ab906885ece94e8 46964
u-boot-tools_2010.12-2_amd64.deb
e9d3e72fb23e83c623b469320363e2ef98fd1f6fdb7cfb422d753b6752e55c91 13534
uboot-mkimage_2010.12-2_all.deb
Files:
2819ed6273b69ec0c9d31d9904e59267 1184 admin optional u-boot_2010.12-2.dsc
56500ccf694b77de13bc006f6a00c64d 26452 admin optional
u-boot_2010.12-2.debian.tar.gz
fddc4ca6bd6b8578cf9f234e1a6f19db 14056 admin optional
u-boot_2010.12-2_amd64.deb
90470c51b64c8ab7da5d57b1b8622da3 46964 admin optional
u-boot-tools_2010.12-2_amd64.deb
350f34750c21b45c247475e4c0af3b6f 13534 admin optional
uboot-mkimage_2010.12-2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAk00xzwACgkQ4VUX8isJIMCVwQCdFyfYpC0CjA1bw+w1ZKY1VyIK
07EAoJkcT/pwLkbPFkvr8cE7ypWd/ZJG
=joay
-----END PGP SIGNATURE-----
--- End Message ---