From: Edward Shishkin <edward.shishkin@gmail.com>
To: Johannes Hirte <johannes.hirte@fem.tu-ilmenau.de>
Cc: Edward Shishkin <edward@redhat.com>,
The development of BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: [patch 1/2] grub-0.97: btrfs support for a singe device configuration
Date: Wed, 28 Oct 2009 00:01:39 +0100 [thread overview]
Message-ID: <4AE77BD3.2010400@gmail.com> (raw)
In-Reply-To: <200910272335.04825.johannes.hirte@fem.tu-ilmenau.de>
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
>
>
next prev parent reply other threads:[~2009-10-27 23:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-24 22:06 [patch 1/2] grub-0.97: btrfs support for a singe device configuration Edward Shishkin
2009-10-27 22:35 ` Johannes Hirte
2009-10-27 23:01 ` Edward Shishkin [this message]
2009-10-28 0:01 ` Johannes Hirte
2009-10-28 21:30 ` Johannes Hirte
2009-10-28 23:02 ` Edward Shishkin
2009-10-29 20:53 ` Johannes Hirte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AE77BD3.2010400@gmail.com \
--to=edward.shishkin@gmail.com \
--cc=edward@redhat.com \
--cc=johannes.hirte@fem.tu-ilmenau.de \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.