xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Linking errors of Mini-OS for ARM32
@ 2013-06-09 12:42 Chen Baozi
  2013-06-09 13:48 ` Julien Grall
  0 siblings, 1 reply; 8+ messages in thread
From: Chen Baozi @ 2013-06-09 12:42 UTC (permalink / raw)
  To: ian.campbell; +Cc: xen-arm, xen-devel

Hi Ian,

Since finishing the very beginning setup assembly, I was turning to adding
necessary headers and empty functions to build the binary. After introducing
those bit operations, spinlocks etc., I thought I have a basic framework to
pass the first build. However, when comming to the final linking stage,
there are errors:

arm-linux-gnueabihf-ld   -T arch/arm/minios-arm32.lds
/home/cbz/src/xen/extras/mini-os/mini-os.o  -o
//home/cbz/src/xen/extras/mini-os/mini-os
/home/cbz/src/xen/extras/mini-os/mini-os.o: In function `init_blkfront':
/home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
/home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
/home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
/home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
/home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
/home/cbz/src/xen/extras/mini-os/mini-os.o:/home/cbz/src/xen/extras/mini-os/blkfront.c:122: more undefined references to `__aeabi_uldivmod' follow
/home/cbz/src/xen/extras/mini-os/mini-os.o:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
/home/cbz/src/xen/extras/mini-os/mini-os.o:(.ARM.exidx+0x50): undefined reference to `__aeabi_unwind_cpp_pr0'
make: *** [/home/cbz/src/xen/extras/mini-os/mini-os] Error 1

I googled that error message. Some has mentioned that add "-fno-exceptions
 -fno-unwind tables" could sovle the problem. I tried, but got the same
errors.

Any ideas?

BTW, after pass my first build, I would consider implementing support in the
toolstack for generating a DTB for guest on ARM platform.

	Baozi

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Linking errors of Mini-OS for ARM32
  2013-06-09 12:42 Linking errors of Mini-OS for ARM32 Chen Baozi
@ 2013-06-09 13:48 ` Julien Grall
  2013-06-09 14:19   ` Tim Deegan
  2013-06-10  0:13   ` Chen Baozi
  0 siblings, 2 replies; 8+ messages in thread
From: Julien Grall @ 2013-06-09 13:48 UTC (permalink / raw)
  To: Chen Baozi; +Cc: xen-arm, ian.campbell, xen-devel@lists.xen.org

On Sun, Jun 9, 2013 at 1:42 PM, Chen Baozi <baozich@gmail.com> wrote:
> Since finishing the very beginning setup assembly, I was turning to adding
> necessary headers and empty functions to build the binary. After introducing
> those bit operations, spinlocks etc., I thought I have a basic framework to
> pass the first build. However, when comming to the final linking stage,
> there are errors:
>
> arm-linux-gnueabihf-ld   -T arch/arm/minios-arm32.lds
> /home/cbz/src/xen/extras/mini-os/mini-os.o  -o
> //home/cbz/src/xen/extras/mini-os/mini-os
> /home/cbz/src/xen/extras/mini-os/mini-os.o: In function `init_blkfront':
> /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> /home/cbz/src/xen/extras/mini-os/mini-os.o:/home/cbz/src/xen/extras/mini-os/blkfront.c:122: more undefined references to `__aeabi_uldivmod' follow
> /home/cbz/src/xen/extras/mini-os/mini-os.o:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
> /home/cbz/src/xen/extras/mini-os/mini-os.o:(.ARM.exidx+0x50): undefined reference to `__aeabi_unwind_cpp_pr0'
> make: *** [/home/cbz/src/xen/extras/mini-os/mini-os] Error 1
>
> I googled that error message. Some has mentioned that add "-fno-exceptions
>  -fno-unwind tables" could sovle the problem. I tried, but got the same
> errors.
>
> Any ideas?

You need to provide an implementation for __aeabi_uldivmod.
For this purpose, you can re-use xen/arch/arm/arm32/lib/lib1func.S

--
Grall Julien

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Linking errors of Mini-OS for ARM32
  2013-06-09 13:48 ` Julien Grall
@ 2013-06-09 14:19   ` Tim Deegan
  2013-06-10  0:14     ` Chen Baozi
  2013-06-10 13:44     ` [XenARM] " Stefano Stabellini
  2013-06-10  0:13   ` Chen Baozi
  1 sibling, 2 replies; 8+ messages in thread
From: Tim Deegan @ 2013-06-09 14:19 UTC (permalink / raw)
  To: Julien Grall; +Cc: xen-arm, Chen Baozi, ian.campbell, xen-devel@lists.xen.org

At 14:48 +0100 on 09 Jun (1370789322), Julien Grall wrote:
> On Sun, Jun 9, 2013 at 1:42 PM, Chen Baozi <baozich@gmail.com> wrote:
> > Since finishing the very beginning setup assembly, I was turning to adding
> > necessary headers and empty functions to build the binary. After introducing
> > those bit operations, spinlocks etc., I thought I have a basic framework to
> > pass the first build. However, when comming to the final linking stage,
> > there are errors:
> >
> > arm-linux-gnueabihf-ld   -T arch/arm/minios-arm32.lds
> > /home/cbz/src/xen/extras/mini-os/mini-os.o  -o
> > //home/cbz/src/xen/extras/mini-os/mini-os
> > /home/cbz/src/xen/extras/mini-os/mini-os.o: In function `init_blkfront':
> > /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> > /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> > /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> > /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> > /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> > /home/cbz/src/xen/extras/mini-os/mini-os.o:/home/cbz/src/xen/extras/mini-os/blkfront.c:122: more undefined references to `__aeabi_uldivmod' follow
> > /home/cbz/src/xen/extras/mini-os/mini-os.o:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
> > /home/cbz/src/xen/extras/mini-os/mini-os.o:(.ARM.exidx+0x50): undefined reference to `__aeabi_unwind_cpp_pr0'
> > make: *** [/home/cbz/src/xen/extras/mini-os/mini-os] Error 1
> >
> > I googled that error message. Some has mentioned that add "-fno-exceptions
> >  -fno-unwind tables" could sovle the problem. I tried, but got the same
> > errors.
> >
> > Any ideas?
> 
> You need to provide an implementation for __aeabi_uldivmod.
> For this purpose, you can re-use xen/arch/arm/arm32/lib/lib1func.S

Please be careful of licensing if you take Xen code into MiniOS.

Tim.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Linking errors of Mini-OS for ARM32
  2013-06-09 13:48 ` Julien Grall
  2013-06-09 14:19   ` Tim Deegan
@ 2013-06-10  0:13   ` Chen Baozi
  2013-06-10 10:06     ` [XenARM] " Julien Grall
  1 sibling, 1 reply; 8+ messages in thread
From: Chen Baozi @ 2013-06-10  0:13 UTC (permalink / raw)
  To: Julien Grall; +Cc: xen-arm, ian.campbell, xen-devel@lists.xen.org

On Sun, Jun 09, 2013 at 02:48:42PM +0100, Julien Grall wrote:
> On Sun, Jun 9, 2013 at 1:42 PM, Chen Baozi <baozich@gmail.com> wrote:
> > Since finishing the very beginning setup assembly, I was turning to adding
> > necessary headers and empty functions to build the binary. After introducing
> > those bit operations, spinlocks etc., I thought I have a basic framework to
> > pass the first build. However, when comming to the final linking stage,
> > there are errors:
> >
> > arm-linux-gnueabihf-ld   -T arch/arm/minios-arm32.lds
> > /home/cbz/src/xen/extras/mini-os/mini-os.o  -o
> > //home/cbz/src/xen/extras/mini-os/mini-os
> > /home/cbz/src/xen/extras/mini-os/mini-os.o: In function `init_blkfront':
> > /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> > /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> > /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> > /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> > /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> > /home/cbz/src/xen/extras/mini-os/mini-os.o:/home/cbz/src/xen/extras/mini-os/blkfront.c:122: more undefined references to `__aeabi_uldivmod' follow
> > /home/cbz/src/xen/extras/mini-os/mini-os.o:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
> > /home/cbz/src/xen/extras/mini-os/mini-os.o:(.ARM.exidx+0x50): undefined reference to `__aeabi_unwind_cpp_pr0'
> > make: *** [/home/cbz/src/xen/extras/mini-os/mini-os] Error 1
> >
> > I googled that error message. Some has mentioned that add "-fno-exceptions
> >  -fno-unwind tables" could sovle the problem. I tried, but got the same
> > errors.
> >
> > Any ideas?
> 
> You need to provide an implementation for __aeabi_uldivmod.
> For this purpose, you can re-use xen/arch/arm/arm32/lib/lib1func.S

Thanks a lot.

A further question. I'm a litte curious that whether __aeabi_uldivmod is missing 
because of a toolchain bug or some other reasons? 

Cheers,

	Baozi

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Linking errors of Mini-OS for ARM32
  2013-06-09 14:19   ` Tim Deegan
@ 2013-06-10  0:14     ` Chen Baozi
  2013-06-10 13:44     ` [XenARM] " Stefano Stabellini
  1 sibling, 0 replies; 8+ messages in thread
From: Chen Baozi @ 2013-06-10  0:14 UTC (permalink / raw)
  To: Tim Deegan; +Cc: Julien Grall, xen-arm, ian.campbell, xen-devel@lists.xen.org

On Sun, Jun 09, 2013 at 03:19:42PM +0100, Tim Deegan wrote:
> At 14:48 +0100 on 09 Jun (1370789322), Julien Grall wrote:
> > On Sun, Jun 9, 2013 at 1:42 PM, Chen Baozi <baozich@gmail.com> wrote:
> > > Since finishing the very beginning setup assembly, I was turning to adding
> > > necessary headers and empty functions to build the binary. After introducing
> > > those bit operations, spinlocks etc., I thought I have a basic framework to
> > > pass the first build. However, when comming to the final linking stage,
> > > there are errors:
> > >
> > > arm-linux-gnueabihf-ld   -T arch/arm/minios-arm32.lds
> > > /home/cbz/src/xen/extras/mini-os/mini-os.o  -o
> > > //home/cbz/src/xen/extras/mini-os/mini-os
> > > /home/cbz/src/xen/extras/mini-os/mini-os.o: In function `init_blkfront':
> > > /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> > > /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> > > /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> > > /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> > > /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> > > /home/cbz/src/xen/extras/mini-os/mini-os.o:/home/cbz/src/xen/extras/mini-os/blkfront.c:122: more undefined references to `__aeabi_uldivmod' follow
> > > /home/cbz/src/xen/extras/mini-os/mini-os.o:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
> > > /home/cbz/src/xen/extras/mini-os/mini-os.o:(.ARM.exidx+0x50): undefined reference to `__aeabi_unwind_cpp_pr0'
> > > make: *** [/home/cbz/src/xen/extras/mini-os/mini-os] Error 1
> > >
> > > I googled that error message. Some has mentioned that add "-fno-exceptions
> > >  -fno-unwind tables" could sovle the problem. I tried, but got the same
> > > errors.
> > >
> > > Any ideas?
> > 
> > You need to provide an implementation for __aeabi_uldivmod.
> > For this purpose, you can re-use xen/arch/arm/arm32/lib/lib1func.S
> 
> Please be careful of licensing if you take Xen code into MiniOS.
Thanks for reminding.

Cheers,

	Baozi

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [XenARM]  Linking errors of Mini-OS for ARM32
  2013-06-10  0:13   ` Chen Baozi
@ 2013-06-10 10:06     ` Julien Grall
  2013-07-12 13:14       ` Stefano Stabellini
  0 siblings, 1 reply; 8+ messages in thread
From: Julien Grall @ 2013-06-10 10:06 UTC (permalink / raw)
  To: Chen Baozi; +Cc: xen-arm, xen-devel@lists.xen.org

On 06/10/2013 01:13 AM, Chen Baozi wrote:

> On Sun, Jun 09, 2013 at 02:48:42PM +0100, Julien Grall wrote:
>> On Sun, Jun 9, 2013 at 1:42 PM, Chen Baozi <baozich@gmail.com> wrote:
>>> Since finishing the very beginning setup assembly, I was turning to adding
>>> necessary headers and empty functions to build the binary. After introducing
>>> those bit operations, spinlocks etc., I thought I have a basic framework to
>>> pass the first build. However, when comming to the final linking stage,
>>> there are errors:
>>>
>>> arm-linux-gnueabihf-ld   -T arch/arm/minios-arm32.lds
>>> /home/cbz/src/xen/extras/mini-os/mini-os.o  -o
>>> //home/cbz/src/xen/extras/mini-os/mini-os
>>> /home/cbz/src/xen/extras/mini-os/mini-os.o: In function `init_blkfront':
>>> /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
>>> /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
>>> /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
>>> /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
>>> /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
>>> /home/cbz/src/xen/extras/mini-os/mini-os.o:/home/cbz/src/xen/extras/mini-os/blkfront.c:122: more undefined references to `__aeabi_uldivmod' follow
>>> /home/cbz/src/xen/extras/mini-os/mini-os.o:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
>>> /home/cbz/src/xen/extras/mini-os/mini-os.o:(.ARM.exidx+0x50): undefined reference to `__aeabi_unwind_cpp_pr0'
>>> make: *** [/home/cbz/src/xen/extras/mini-os/mini-os] Error 1
>>>
>>> I googled that error message. Some has mentioned that add "-fno-exceptions
>>>  -fno-unwind tables" could sovle the problem. I tried, but got the same
>>> errors.
>>>
>>> Any ideas?
>>
>> You need to provide an implementation for __aeabi_uldivmod.
>> For this purpose, you can re-use xen/arch/arm/arm32/lib/lib1func.S
> 
> Thanks a lot.
> 
> A further question. I'm a litte curious that whether __aeabi_uldivmod is missing 
> because of a toolchain bug or some other reasons? 

__aeabi_uldivmod and co. are provided by libgcc.{so,a}. Mini-OS is not
linked against this library.

-- 
Julien

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [XenARM]  Linking errors of Mini-OS for ARM32
  2013-06-09 14:19   ` Tim Deegan
  2013-06-10  0:14     ` Chen Baozi
@ 2013-06-10 13:44     ` Stefano Stabellini
  1 sibling, 0 replies; 8+ messages in thread
From: Stefano Stabellini @ 2013-06-10 13:44 UTC (permalink / raw)
  To: Tim Deegan; +Cc: Julien Grall, xen-arm, xen-devel@lists.xen.org

On Sun, 9 Jun 2013, Tim Deegan wrote:
> At 14:48 +0100 on 09 Jun (1370789322), Julien Grall wrote:
> > On Sun, Jun 9, 2013 at 1:42 PM, Chen Baozi <baozich@gmail.com> wrote:
> > > Since finishing the very beginning setup assembly, I was turning to adding
> > > necessary headers and empty functions to build the binary. After introducing
> > > those bit operations, spinlocks etc., I thought I have a basic framework to
> > > pass the first build. However, when comming to the final linking stage,
> > > there are errors:
> > >
> > > arm-linux-gnueabihf-ld   -T arch/arm/minios-arm32.lds
> > > /home/cbz/src/xen/extras/mini-os/mini-os.o  -o
> > > //home/cbz/src/xen/extras/mini-os/mini-os
> > > /home/cbz/src/xen/extras/mini-os/mini-os.o: In function `init_blkfront':
> > > /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> > > /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> > > /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> > > /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> > > /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> > > /home/cbz/src/xen/extras/mini-os/mini-os.o:/home/cbz/src/xen/extras/mini-os/blkfront.c:122: more undefined references to `__aeabi_uldivmod' follow
> > > /home/cbz/src/xen/extras/mini-os/mini-os.o:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
> > > /home/cbz/src/xen/extras/mini-os/mini-os.o:(.ARM.exidx+0x50): undefined reference to `__aeabi_unwind_cpp_pr0'
> > > make: *** [/home/cbz/src/xen/extras/mini-os/mini-os] Error 1
> > >
> > > I googled that error message. Some has mentioned that add "-fno-exceptions
> > >  -fno-unwind tables" could sovle the problem. I tried, but got the same
> > > errors.
> > >
> > > Any ideas?
> > 
> > You need to provide an implementation for __aeabi_uldivmod.
> > For this purpose, you can re-use xen/arch/arm/arm32/lib/lib1func.S
> 
> Please be careful of licensing if you take Xen code into MiniOS.

That's right, in fact Xen code is GPLv2 while MiniOS is BSD. So you need
to find a BSD licensed implementation of __aeabi_uldivmod. Maybe NetBSD?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [XenARM]  Linking errors of Mini-OS for ARM32
  2013-06-10 10:06     ` [XenARM] " Julien Grall
@ 2013-07-12 13:14       ` Stefano Stabellini
  0 siblings, 0 replies; 8+ messages in thread
From: Stefano Stabellini @ 2013-07-12 13:14 UTC (permalink / raw)
  To: Julien Grall; +Cc: xen-arm, Chen Baozi, xen-devel@lists.xen.org

On Mon, 10 Jun 2013, Julien Grall wrote:
> On 06/10/2013 01:13 AM, Chen Baozi wrote:
> 
> > On Sun, Jun 09, 2013 at 02:48:42PM +0100, Julien Grall wrote:
> >> On Sun, Jun 9, 2013 at 1:42 PM, Chen Baozi <baozich@gmail.com> wrote:
> >>> Since finishing the very beginning setup assembly, I was turning to adding
> >>> necessary headers and empty functions to build the binary. After introducing
> >>> those bit operations, spinlocks etc., I thought I have a basic framework to
> >>> pass the first build. However, when comming to the final linking stage,
> >>> there are errors:
> >>>
> >>> arm-linux-gnueabihf-ld   -T arch/arm/minios-arm32.lds
> >>> /home/cbz/src/xen/extras/mini-os/mini-os.o  -o
> >>> //home/cbz/src/xen/extras/mini-os/mini-os
> >>> /home/cbz/src/xen/extras/mini-os/mini-os.o: In function `init_blkfront':
> >>> /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> >>> /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> >>> /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> >>> /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> >>> /home/cbz/src/xen/extras/mini-os/blkfront.c:122: undefined reference to `__aeabi_uldivmod'
> >>> /home/cbz/src/xen/extras/mini-os/mini-os.o:/home/cbz/src/xen/extras/mini-os/blkfront.c:122: more undefined references to `__aeabi_uldivmod' follow
> >>> /home/cbz/src/xen/extras/mini-os/mini-os.o:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
> >>> /home/cbz/src/xen/extras/mini-os/mini-os.o:(.ARM.exidx+0x50): undefined reference to `__aeabi_unwind_cpp_pr0'
> >>> make: *** [/home/cbz/src/xen/extras/mini-os/mini-os] Error 1
> >>>
> >>> I googled that error message. Some has mentioned that add "-fno-exceptions
> >>>  -fno-unwind tables" could sovle the problem. I tried, but got the same
> >>> errors.
> >>>
> >>> Any ideas?
> >>
> >> You need to provide an implementation for __aeabi_uldivmod.
> >> For this purpose, you can re-use xen/arch/arm/arm32/lib/lib1func.S
> > 
> > Thanks a lot.
> > 
> > A further question. I'm a litte curious that whether __aeabi_uldivmod is missing 
> > because of a toolchain bug or some other reasons? 
> 
> __aeabi_uldivmod and co. are provided by libgcc.{so,a}. Mini-OS is not
> linked against this library.

Actually the implementation of __aeabi_uldivmod in
xen/arch/arm/arm32/lib/lib1funcs.S is GPLv2. You cannot use it in
Mini-OS that is BSD licensed. You need to find a BSD implementation of
that function.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-07-12 13:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-09 12:42 Linking errors of Mini-OS for ARM32 Chen Baozi
2013-06-09 13:48 ` Julien Grall
2013-06-09 14:19   ` Tim Deegan
2013-06-10  0:14     ` Chen Baozi
2013-06-10 13:44     ` [XenARM] " Stefano Stabellini
2013-06-10  0:13   ` Chen Baozi
2013-06-10 10:06     ` [XenARM] " Julien Grall
2013-07-12 13:14       ` Stefano Stabellini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).