From mboxrd@z Thu Jan 1 00:00:00 1970 From: Edward Shishkin Subject: Re: [patch 1/2] grub-0.97: btrfs support for a singe device configuration Date: Wed, 28 Oct 2009 00:01:39 +0100 Message-ID: <4AE77BD3.2010400@gmail.com> References: <4ABBED68.6090801@redhat.com> <200910272335.04825.johannes.hirte@fem.tu-ilmenau.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-6; format=flowed Cc: Edward Shishkin , The development of BTRFS To: Johannes Hirte Return-path: In-Reply-To: <200910272335.04825.johannes.hirte@fem.tu-ilmenau.de> List-ID: Johannes Hirte wrote: > Am Freitag 25 September 2009 00:06:32 schrieb Edward Shishkin: > >> > I was trying the patch and got a little confused. How did you get this work > without linking against libgcc? Hmm.. Actually my Fedora stuff does link it: [...] +btrfs_stage1_5_exec_LDADD = @LIBGCC@ [...] I guess you have missed it when porting to Gentoo.. Thanks, Edward. > I've tested it with the gentoo patches for > grub and get > > /usr/src/portage/portage/sys-boot/grub-0.97-r10/work/grub-0.97/stage2/fsys_btrfs.c:551: undefined reference to `__udivdi3' > /usr/src/portage/portage/sys-boot/grub-0.97-r10/work/grub-0.97/stage2/fsys_btrfs.c:571: undefined reference to `__umoddi3' > /usr/src/portage/portage/sys-boot/grub-0.97-r10/work/grub-0.97/stage2/fsys_btrfs.c:575: undefined reference to `__umoddi3' > /usr/src/portage/portage/sys-boot/grub-0.97-r10/work/grub-0.97/stage2/fsys_btrfs.c:581: undefined reference to `__umoddi3' > /usr/src/portage/portage/sys-boot/grub-0.97-r10/work/grub-0.97/stage2/fsys_btrfs.c:583: undefined reference to `__udivdi3' > /usr/src/portage/portage/sys-boot/grub-0.97-r10/work/grub-0.97/stage2/fsys_btrfs.c:588: undefined reference to `__umoddi3' > /usr/src/portage/portage/sys-boot/grub-0.97-r10/work/grub-0.97/stage2/fsys_btrfs.c:589: undefined reference to `__udivdi3' > collect2: ld returned 1 exit status > make[2]: *** [pre_stage2.exec] Error 1 > make[2]: Leaving directory `/usr/src/portage/portage/sys-boot/grub-0.97-r10/work/grub-0.97/stage2' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/portage/portage/sys-boot/grub-0.97-r10/work/grub-0.97' > make: *** [all] Error 2 > -- > To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > >