or1ksim fails to build
Hesham Moustafa
heshamelmatary at gmail.com
Fri Aug 29 20:15:33 UTC 2014
On Aug 29, 2014 10:10 PM, "Joel Sherrill" <joel.sherrill at oarcorp.com> wrote:
>
>
> On 8/29/2014 2:24 PM, Hesham Moustafa wrote:
> > On Fri, Aug 29, 2014 at 9:19 PM, Joel Sherrill
> > <joel.sherrill at oarcorp.com> wrote:
> >> Hi
> >>
> >> I think something isn't quite right. I don't know if gcc isn't
including
> >> these or the bsp_specs isn't picking them up. It is a long holiday
weekend
> >> and I just wanted to throw this out since I don't have time to
investigate.
> >>
> >> or1k-rtems4.11-gcc -B../../../../../or1ksim/lib/ -specs bsp_specs
> >> -qrtems -O2 -O0 -g -Wall -Wmissing-prototypes
> >> -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs
> >> -O2 -o nsecs.exe init.o empty.o
> >> ../../../../../or1ksim/lib/librtemscpu.a(libscore_a-threadhandler.o):
In
> >> function `_Thread_Handler':
> >>
/users/joel/rtems-4.11-work/rtems-testing/rtems/build-or1k-or1ksim-rtems/or1k-rtems4.11/c/or1ksim/cpukit/score/../../../../../../rtems/c/src/../../cpukit/score/src/threadhandler.c:181:
> >> undefined reference to `_init'
> >> ../../../../../or1ksim/lib/librtemscpu.a(libcsupport_a-newlibc_exit.o):
> >> In function `_exit':
> >>
/users/joel/rtems-4.11-work/rtems-testing/rtems/build-or1k-or1ksim-rtems/or1k-rtems4.11/c/or1ksim/cpukit/libcsupport/../../../../../../rtems/c/src/../../cpukit/libcsupport/src/newlibc_exit.c:43:
> >> undefined reference to `_fini'
> >> collect2: error: ld returned 1 exit status
> >>
> > What's the configure line you used to build? I used to --disable-posix
> > and --disable-itron to avoid some of building errors.
> ITRON is no longer in the tree so that doesn't matter at all. :)
>
> POSIX was on. With it off, I get the same.
>
> I built a new toolset with the RSB just in case and got the same result.
>
> It is a long holiday weekend here. Heading out and not sure what is
> broken. Usually this indicates an issue with the linkcmds or
> the bsp_specs. But if it works for you, then it must be something
> else or all changes are not submitted.
>
> Are your tools "fresh"?
>
There is no problem with RTEMS because I use the RTEMS git repo and not
mine.
I believe my tools are fresh, but I will build it again now and report the
results.
>
> >> --
> >> Joel Sherrill, Ph.D. Director of Research & Development
> >> joel.sherrill at OARcorp.com On-Line Applications Research
> >> Ask me about RTEMS: a free RTOS Huntsville AL 35805
> >> Support Available (256) 722-9985
> >>
>
> --
> Joel Sherrill, Ph.D. Director of Research & Development
> joel.sherrill at OARcorp.com On-Line Applications Research
> Ask me about RTEMS: a free RTOS Huntsville AL 35805
> Support Available (256) 722-9985
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20140829/38b5ae62/attachment-0002.html>
More information about the devel
mailing list