Building vxworks 6.1 source - VxWorks

This is a discussion on Building vxworks 6.1 source - VxWorks ; Hi all, I am trying to build vxworks 6.1 source code for ARM and running into link errors. Anyone has done this successfully? I am talking to customer support. And it sucks! The command I am using is: make CPU=ARMARCH5 ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: Building vxworks 6.1 source

  1. Building vxworks 6.1 source

    Hi all,
    I am trying to build vxworks 6.1 source code for ARM and running into
    link errors. Anyone has done this successfully? I am talking to
    customer support. And it sucks!

    The command I am using is:
    make CPU=ARMARCH5 TOOL=gnu DUAL_BUILD=false

    I get unresolved symbols for floating point functions when I make the
    kernel image. Here are the sample:
    tmp.2(.text+0x18d88): In function `cos':
    : undefined reference to `__adddf3'
    tmp.2(.text+0x18d9c): In function `cos':
    : undefined reference to `__muldf3'
    tmp.2(.text+0x18ddc): In function `cos':
    : undefined reference to `__gedf2'
    tmp.2(.text+0x18df8): In function `cos':
    : undefined reference to `__subdf3'
    tmp.2(.text+0x18f7c): In function `$a':
    : undefined reference to `__muldf3'
    tmp.2(.text+0x18f90): In function `$a':
    : undefined reference to `__adddf3'
    tmp.2(.text+0x18fa4): In function `$a':
    : undefined reference to `__muldf3'
    tmp.2(.text+0x18fb8): In function `$a':
    : undefined reference to `__adddf3'
    tmp.2(.text+0x18fcc): In function `$a':
    : undefined reference to `__muldf3'
    tmp.2(.text+0x18fe0): In function `$a':
    : undefined reference to `__muldf3'
    tmp.2(.text+0x18ff4): In function `$a':
    : undefined reference to `__adddf3'
    tmp.2(.text+0x19018): In function `sinh':
    : undefined reference to `__nedf2'
    tmp.2(.text+0x19070): In function `sinh':
    : undefined reference to `__ltdf2'
    tmp.2(.text+0x19098): In function `sinh':
    : undefined reference to `__adddf3'
    tmp.2(.text+0x190ac): In function `sinh':
    : undefined reference to `__ledf2'
    tmp.2(.text+0x190d8): In function `sinh':


    Any help will be greatly appreciated!

    Thanks!
    Jay


  2. Re: Building vxworks 6.1 source

    "Jay" wrote:

    >Hi all,
    >I am trying to build vxworks 6.1 source code for ARM and running into
    >link errors. Anyone has done this successfully? I am talking to
    >customer support. And it sucks!
    >
    >The command I am using is:
    >make CPU=ARMARCH5 TOOL=gnu DUAL_BUILD=false


    vxWorks doesn't support building the ARM, or most, kernel(s) with GNU.
    What you are missing are the floating point intrinsics.

    If you insist on an unsupported build, you'll probably need to
    round up GNU fp library(s).

    >
    >I get unresolved symbols for floating point functions when I make the
    >kernel image. Here are the sample:
    >tmp.2(.text+0x18d88): In function `cos':
    >: undefined reference to `__adddf3'
    >tmp.2(.text+0x18d9c): In function `cos':
    >: undefined reference to `__muldf3'
    >tmp.2(.text+0x18ddc): In function `cos':
    >: undefined reference to `__gedf2'
    >tmp.2(.text+0x18df8): In function `cos':
    >: undefined reference to `__subdf3'
    >tmp.2(.text+0x18f7c): In function `$a':
    >: undefined reference to `__muldf3'
    >tmp.2(.text+0x18f90): In function `$a':
    >: undefined reference to `__adddf3'
    >tmp.2(.text+0x18fa4): In function `$a':
    >: undefined reference to `__muldf3'
    >tmp.2(.text+0x18fb8): In function `$a':
    >: undefined reference to `__adddf3'
    >tmp.2(.text+0x18fcc): In function `$a':
    >: undefined reference to `__muldf3'
    >tmp.2(.text+0x18fe0): In function `$a':
    >: undefined reference to `__muldf3'
    >tmp.2(.text+0x18ff4): In function `$a':
    >: undefined reference to `__adddf3'
    >tmp.2(.text+0x19018): In function `sinh':
    >: undefined reference to `__nedf2'
    >tmp.2(.text+0x19070): In function `sinh':
    >: undefined reference to `__ltdf2'
    >tmp.2(.text+0x19098): In function `sinh':
    >: undefined reference to `__adddf3'
    >tmp.2(.text+0x190ac): In function `sinh':
    >: undefined reference to `__ledf2'
    >tmp.2(.text+0x190d8): In function `sinh':
    >
    >
    >Any help will be greatly appreciated!
    >
    >Thanks!
    >Jay



  3. Re: Building vxworks 6.1 source

    They do have support for GNU tools. Only I had to do some gymnastics to
    get it building.

    The libarch.a cannot be built fully as it has the floating point
    functions from arm for which the source code cannot be distributed. So
    I retained the original archive. Even though I use GNU, there are diab
    dependencies. So I retained original libdcc.a. rest I was able to
    build.

    spammers_lie@pandora.orbl.org wrote:
    >
    > >Hi all,
    > >I am trying to build vxworks 6.1 source code for ARM and running into
    > >link errors. Anyone has done this successfully? I am talking to
    > >customer support. And it sucks!
    > >
    > >The command I am using is:
    > >make CPU=ARMARCH5 TOOL=gnu DUAL_BUILD=false

    >
    > vxWorks doesn't support building the ARM, or most, kernel(s) with GNU.
    > What you are missing are the floating point intrinsics.
    >
    > If you insist on an unsupported build, you'll probably need to
    > round up GNU fp library(s).
    >
    > >
    > >I get unresolved symbols for floating point functions when I make the
    > >kernel image. Here are the sample:
    > >tmp.2(.text+0x18d88): In function `cos':
    > >: undefined reference to `__adddf3'
    > >tmp.2(.text+0x18d9c): In function `cos':
    > >: undefined reference to `__muldf3'
    > >tmp.2(.text+0x18ddc): In function `cos':
    > >: undefined reference to `__gedf2'
    > >tmp.2(.text+0x18df8): In function `cos':
    > >: undefined reference to `__subdf3'
    > >tmp.2(.text+0x18f7c): In function `$a':
    > >: undefined reference to `__muldf3'
    > >tmp.2(.text+0x18f90): In function `$a':
    > >: undefined reference to `__adddf3'
    > >tmp.2(.text+0x18fa4): In function `$a':
    > >: undefined reference to `__muldf3'
    > >tmp.2(.text+0x18fb8): In function `$a':
    > >: undefined reference to `__adddf3'
    > >tmp.2(.text+0x18fcc): In function `$a':
    > >: undefined reference to `__muldf3'
    > >tmp.2(.text+0x18fe0): In function `$a':
    > >: undefined reference to `__muldf3'
    > >tmp.2(.text+0x18ff4): In function `$a':
    > >: undefined reference to `__adddf3'
    > >tmp.2(.text+0x19018): In function `sinh':
    > >: undefined reference to `__nedf2'
    > >tmp.2(.text+0x19070): In function `sinh':
    > >: undefined reference to `__ltdf2'
    > >tmp.2(.text+0x19098): In function `sinh':
    > >: undefined reference to `__adddf3'
    > >tmp.2(.text+0x190ac): In function `sinh':
    > >: undefined reference to `__ledf2'
    > >tmp.2(.text+0x190d8): In function `sinh':
    > >
    > >
    > >Any help will be greatly appreciated!
    > >
    > >Thanks!
    > >Jay



  4. Re: Building vxworks 6.1 source

    "Jay" wrote:

    >They do have support for GNU tools. Only I had to do some gymnastics to
    >get it building.
    >


    But not for building the ARM kernel. GNU is supported for building a VIP, kernel
    object modules, and RTPs. Not for building the ARM kernel libraries.

    >The libarch.a cannot be built fully as it has the floating point
    >functions from arm for which the source code cannot be distributed. So
    >I retained the original archive. Even though I use GNU, there are diab
    >dependencies. So I retained original libdcc.a. rest I was able to
    >build.




  5. Re: Building vxworks 6.1 source

    Please check to see you arm cross compiler is correcly configured...

    spammers_lie@pandora.orbl.org 写道:

    > "Jay" wrote:
    >
    > >They do have support for GNU tools. Only I had to do some gymnastics to
    > >get it building.
    > >

    >
    > But not for building the ARM kernel. GNU is supported for building a VIP,kernel
    > object modules, and RTPs. Not for building the ARM kernel libraries.
    >
    > >The libarch.a cannot be built fully as it has the floating point
    > >functions from arm for which the source code cannot be distributed. So
    > >I retained the original archive. Even though I use GNU, there are diab
    > >dependencies. So I retained original libdcc.a. rest I was able to
    > >build.

    >
    >



+ Reply to Thread