bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Heiko Becker
Subject: bug#18511: parted-3.2 fails to build with gold linker
Date: Fri, 19 Sep 2014 17:41:53 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

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

Attachment: 0001-libparted-also-link-to-UUID_LIBS.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]