Changeset 51614c0 in rtems


Ignore:
Timestamp:
Mar 13, 2018, 4:14:14 PM (13 months ago)
Author:
Amaan Cheval <amaan.cheval@…>
Branches:
master
Children:
efa0039e
Parents:
e9fb3133
git-author:
Amaan Cheval <amaan.cheval@…> (03/13/18 16:14:14)
git-committer:
Joel Sherrill <joel@…> (03/16/18 16:01:55)
Message:

i386/smp: Have ld use incremental build for appstart.o

With HAS_SMP set, we have:

libbsp_a_LIBADD += appstart.$(OBJEXT)

When trying to build appstart.o, however, we link start.o with appcpustart.o
through the linkcmds script, which leaves several symbols unresolved, and
without the "-r" (or -i) flag, this throws undefined reference errors.

This change requires us to re-run the ./bootstrap script to regenerate
Makefile.in, and therefore the Makefile for the particular BSP as well.

Complete log of errors available here:
https://gist.github.com/AmaanC/d40bd7393dca1f82965938275845b7f9

Updates #3331

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/Makefile.am

    re9fb3133 r51614c0  
    155155
    156156appstart.$(OBJEXT): appcpustart.$(OBJEXT)
    157         $(LD) -N -T $(top_srcdir)/startup/linkcmds \
     157        $(LD) -r -N -T $(top_srcdir)/startup/linkcmds \
    158158            -Ttext 0x70000 -e app_processor_start -nostdlib \
    159159            -o appstart_tmp.exe $<
Note: See TracChangeset for help on using the changeset viewer.