[RTEMS Project] #2540: RSB has problems building into existing directory

RTEMS trac trac at rtems.org
Fri Oct 6 05:31:41 UTC 2017


#2540: RSB has problems building into existing directory
----------------------------+----------------------------
 Reporter:  Simon Williams  |       Owner:  Needs Funding
     Type:  defect          |      Status:  assigned
 Priority:  normal          |   Milestone:  Indefinite
Component:  RSB             |     Version:  4.12
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+----------------------------

Comment (by Chris Johns):

 Replying to [comment:5 Sebastian Huber]:
 > Ok, now the intention is clear to me, however, the GCC build system adds
 the prefix to the search paths via:
 >
 > {{{
 > -B/${prefix}/${target}/bin/ -B/${prefix}/${target}/lib/ -isystem
 /${prefix}/${target}/include -isystem /${prefix}/${target}/sys-include
 > }}}
 >
 > From my point of view this is a GCC build system bug.

 Yes, gcc doing this is not helpful.

 > I always delete the prefix before I build anything with RSB.

 I do from time to time but no always and I suppose I do not see any issues
 because I incrementally bump the tool versions while a jump could have
 real issues.

 This is tricky to resolve within the RSB. For example if the RSB removed
 the `${PREFIX}` with each build automatically you would not be able to
 build RTEMS 3rd party libraries with the same prefix you built the tools
 with because the tools would have been deleted.

--
Ticket URL: <http://devel.rtems.org/ticket/2540#comment:6>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list