Build FreeBSD: FAILED 6/rtems-sparc on x86_64-freebsd12.1 (sparc-rtems6-gdb-5085593976-x86_64-freebsd12.1-1)

Chris Johns chrisj at rtems.org
Thu Dec 5 08:13:08 UTC 2019


On 5/12/19 6:46 pm, Sebastian Huber wrote:
> On 05/12/2019 08:38, Sebastian Huber wrote:
>> On 04/12/2019 14:56, sebastian.huber at embedded-brains.de wrote:
>>> ../../../sourceware-mirror-binutils-gdb-5085593976/sim/erc32/sis.c:36:10:
>>> fatal error: 'readline/readline.h' file not found
>>> #include "readline/readline.h"
>>
>> This is the GDB build failure on FreeBSD 12.1. I have a readline.h in:
>>
>> /usr/local/include/readline/readline.h
> 
> Maybe the problem is that /usr/local/include is not in the compiler search path
> by default:

It should have been added on FreeBSD. Check the FreeBSD defaults and overrides
in sb/freebsd.py.

Issues can appear depending on how the flags are used. Some packages need
CPPFLAGS and others use CFLAGS.

Chris


More information about the devel mailing list