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: Heiko Becker <heirecka <at> exherbo.org>
To: 18511 <at> debbugs.gnu.org
Subject: bug#18511: 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)]

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.