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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Heiko Becker <heirecka <at> exherbo.org>
Subject: bug#18511: closed (Re: bug#18511: parted-3.2 fails to build with
 gold linker)
Date: Sat, 20 Sep 2014 17:06:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#18511: parted-3.2 fails to build with gold linker

which was filed against the parted package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 18511 <at> debbugs.gnu.org.

-- 
18511: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18511
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.

[Message part 3 (message/rfc822, inline)]
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 4 (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)]

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

Previous Next


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