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

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Dec 5 07:46:21 UTC 2019


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:

$ echo "" | cc  -E -P -v  -
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on 
LLVM 8.0.1)
Target: x86_64-unknown-freebsd12.1
Thread model: posix
InstalledDir: /usr/bin
  "/usr/bin/cc" -cc1 -triple x86_64-unknown-freebsd12.1 -E -disable-free 
-disable-llvm-verifier -discard-value-names -main-file-name - 
-mrelocation-model static -mthread-model posix -mdisable-fp-elim 
-masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array 
-target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -v -P 
-resource-dir /usr/lib/clang/8.0.1 -fdebug-compilation-dir 
/usr/home/user/rtems-source-builder/rtems -ferror-limit 19 
-fmessage-length 151 -fobjc-runtime=gnustep -fdiagnostics-show-option 
-fcolor-diagnostics -o - -x c - -faddrsig
clang -cc1 version 8.0.1 based upon LLVM 8.0.1 default target 
x86_64-unknown-freebsd12.1
#include "..." search starts here:
#include <...> search starts here:
  /usr/lib/clang/8.0.1/include
  /usr/include
End of search list.


-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


More information about the devel mailing list