GNU bug report logs - #18511
parted-3.2 fails to build with gold linker

Previous Next

Package: parted;

Reported by: Heiko Becker <heirecka <at> exherbo.org>

Date: Fri, 19 Sep 2014 22:00:03 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 18511 in the body.
You can then email your comments to 18511 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

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


Report forwarded to bug-parted <at> gnu.org:
bug#18511; Package parted. (Fri, 19 Sep 2014 22:00:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Heiko Becker <heirecka <at> exherbo.org>:
New bug report received and forwarded. Copy sent to bug-parted <at> gnu.org. (Fri, 19 Sep 2014 22:00:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Heiko Becker <heirecka <at> exherbo.org>
To: bug-parted <at> gnu.org
Subject: parted-3.2 fails to build with gold linker
Date: Fri, 19 Sep 2014 17:41:53 +0200
[Message part 1 (text/plain, inline)]
Hi,

if I try to build parted-3.2 with the gold linker I get the following
error. The attached patch fixes that for me.

libs/libparted.so
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -march=native -pipe
-O2 -floop-block -floop-
interchange -floop-strip-mine -Wl,-O1 -rdynamic -o .libs/dup-clobber
dup-clobber.o  ../libpart
ed/.libs/libparted.so
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -march=native -pipe
-O2 -floop-block -floop-
interchange -floop-strip-mine -Wl,-O1 -rdynamic -o .libs/fs-resize
fs-resize.o  ../libparted/f
s/.libs/libparted-fs-resize.so ../libparted/.libs/libparted.so
../libparted/fs/.libs/libparted-fs-resize.so: error: undefined reference
to 'uuid_generate'
collect2: error: ld returned 1 exit status
Makefile:1491: recipe for target 'fs-resize' failed
make[4]: *** [fs-resize] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory
'/var/tmp/paludis/build/sys-fs-parted-3.2/work/parted-3.2/tests'
Makefile:1783: recipe for target 'check-am' failed
make[3]: *** [check-am] Error 2
make[3]: Leaving directory
'/var/tmp/paludis/build/sys-fs-parted-3.2/work/parted-3.2/tests'
Makefile:1265: recipe for target 'check-recursive' failed
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory
'/var/tmp/paludis/build/sys-fs-parted-3.2/work/parted-3.2'
Makefile:1738: recipe for target 'ss-1024' failed
make[1]: Leaving directory
'/var/tmp/paludis/build/sys-fs-parted-3.2/work/parted-3.2'
make[1]: *** [ss-1024] Error 2
Makefile:1744: recipe for target 'check-other-sector_sizes' failed
make: *** [check-other-sector_sizes] Error 2

-- 
Best Regards,
Heiko Becker
[0001-libparted-also-link-to-UUID_LIBS.patch (text/x-patch, attachment)]

Reply sent to Jim Meyering <jim <at> meyering.net>:
You have taken responsibility. (Sat, 20 Sep 2014 17:06:02 GMT) Full text and rfc822 format available.

Notification sent to Heiko Becker <heirecka <at> exherbo.org>:
bug acknowledged by developer. (Sat, 20 Sep 2014 17:06:03 GMT) Full text and rfc822 format available.

Message #10 received at 18511-done <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Heiko Becker <heirecka <at> exherbo.org>
Cc: 18511-done <at> debbugs.gnu.org
Subject: Re: bug#18511: parted-3.2 fails to build with gold linker
Date: Sat, 20 Sep 2014 10:04:58 -0700
On Fri, Sep 19, 2014 at 8:41 AM, Heiko Becker <heirecka <at> exherbo.org> wrote:
> if I try to build parted-3.2 with the gold linker I get the following
> error. The attached patch fixes that for me.

Thank you. I've pushed that.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 19 Oct 2014 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 298 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.