Building newly for 6/rtems-arm blows on compiling iOS_failure.cc

Joel Sherrill joel at rtems.org
Wed May 25 21:01:36 UTC 2022


On Wed, May 25, 2022, 3:30 PM Mr. Andrei Chichak <groups at chichak.ca> wrote:

> Yes, I noticed it was not clang but gcc that was complaining about
> ------->  <—— that long after I hit send. I was hoping for your forgiveness.
>
> I went into /Users/andreichichak/quick-start/src/rsb and did a find .
> -name ctype_inline.h
> I love being able to cut/paste between computers.
>

Hmm.. we've seen cases where l building libbsd after an install of libbsd
can sometimes fail because the installed headers are not the right ones for
the cloned source. I wonder if building gcc and libraries can do the same
thing.

--joel

>
> Giving:
>
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/config/os/bionic/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/config/os/qnx/qnx6.1/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/config/os/vxworks/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/config/os/uclibc/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/config/os/djgpp/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/config/os/hpux/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/config/os/newlib/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/config/os/bsd/dragonfly/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/config/os/bsd/netbsd/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/config/os/bsd/freebsd/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/config/os/bsd/openbsd/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/config/os/bsd/darwin/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/config/os/mingw32/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/config/os/gnu-linux/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/config/os/generic/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/config/os/solaris/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/config/os/tpf/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/config/os/mingw32-w64/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/config/os/aix/ctype_inline.h
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/include/arm-rtems6/bits/ctype_inline.h
>                     <—— this one
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/thumb/armv7-r+fp/hard/libstdc++-v3/include/arm-rtems6/bits/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/thumb/cortex-m7/hard/libstdc++-v3/include/arm-rtems6/bits/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/thumb/libstdc++-v3/include/arm-rtems6/bits/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/thumb/armv7-r/libstdc++-v3/include/arm-rtems6/bits/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/thumb/cortex-r52/hard/libstdc++-v3/include/arm-rtems6/bits/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/thumb/armv7-a/libstdc++-v3/include/arm-rtems6/bits/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/thumb/armv6-m/libstdc++-v3/include/arm-rtems6/bits/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/thumb/armv7-a+simd/hard/libstdc++-v3/include/arm-rtems6/bits/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/thumb/cortex-m3/libstdc++-v3/include/arm-rtems6/bits/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/thumb/cortex-m4/hard/libstdc++-v3/include/arm-rtems6/bits/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/thumb/cortex-m4+nofp/libstdc++-v3/include/arm-rtems6/bits/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/eb/thumb/armv7-r+fp/hard/libstdc++-v3/include/arm-rtems6/bits/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/eb/thumb/armv7-r/libstdc++-v3/include/arm-rtems6/bits/ctype_inline.h
>
> ./rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/libstdc++-v3/include/arm-rtems6/bits/ctype_inline.h
>
> From what I can see in the compile line (dark below) should include the
> file noted above.
>
> (later)
>
> I deleted all of the files that I git cloned and all of the build
> directories, reran the same scripts as before and it built all of the tools
> properly. I have no idea why. Unless something got pushed into the repos
> since yesterday.
>
> So, (?) thank you (?) I think it’s okay now.
>
> Andrei
>
>
> > On 2022-May-25, at 00:14, Sebastian Huber <
> sebastian.huber at embedded-brains.de> wrote:
> >
> > On 24/05/2022 21:09, Andrei Chichak wrote:
> >>  and the tail end of the log file reads:
> >>  /bin/sh ../../libtool --tag CXX --tag disable-shared --mode=compile
> /Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/./gcc/xgcc
> -shared-libgcc
> -B/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/./gcc
> -nostdinc++
> -L/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/src
> -L/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/src/.libs
> -L/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/libsupc++/.libs
> -nostdinc
> -B/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-
> >>  x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/newlib/
> -isystem/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/newlib/targ-include
> -isystem
> /Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/newlib/libc/include
> -B/Users/andreichichak/quick-start/rtems/6/arm-rtems6/bin/
> -B/Users/andreichichak/quick-start/rtems/6/arm-rtems6/lib/  -isystem
> /Users/andreichichak/quick-start/rtems/6/arm-rtems6/include -isystem
> /Users/andreichichak/quick-start/rtems/6/arm-rtems6/sys-include
> -march=armv5te+fp -mfloat-abi=hard
> -I/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/../libgcc
> -I/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18
> >>
> .7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/include/arm-rtems6
> -I/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/include
> -I/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/libsupc++
> -std=gnu++98 -fno-implicit-templates -Wall -Wextra -Wwrite-strings
> -Wcast-qual -Wabi=2 -fdiagnostics-show-location=once -ffunction-sections
> -fdata-sections -frandom-seed=ios_failure.lo -g -O2 -march=armv5te+fp
> -mfloat-abi=hard -c -o ios_failure.lo
> ../../../../../../../gnu-mirror-gcc-197b7ac/libstdc++-v3/src/c++98/ios_failure.cc
> >> In file included from
> /Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/include/bits/basic_ios.h:37,
> >> from
> /Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/include/ios:44,
> >> from
> /Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/include/istream:38,
> >> from
> /Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/include/fstream:38,
> >> from
> ../../../../../../../gnu-mirror-gcc-197b7ac/libstdc++-v3/src/c++98/globals_io.cc:24:
> >>
> /Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/include/bits/locale_facets.h:1546:10:
> fatal error: bits/ctype_inline.h: No such file or directory
> >> 1546 | #include <bits/ctype_inline.h>
> >> | ^~~~~~~~~~~~~~~~~~~~~
> >
> > This error is not reported by clang, it is an error produced by the GCC
> cross compiler. I guess this is an issue with the build system. Do you see
> the ctype_inline.h file in your build tree? Does it work if you run make in
> the existing build tree?
> >
> > --
> > embedded brains GmbH
> > Herr Sebastian HUBER
> > Dornierstr. 4
> > 82178 Puchheim
> > Germany
> > email: sebastian.huber at embedded-brains.de
> > phone: +49-89-18 94 741 - 16
> > fax:   +49-89-18 94 741 - 08
> >
> > Registergericht: Amtsgericht München
> > Registernummer: HRB 157899
> > Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> > Unsere Datenschutzerklärung finden Sie hier:
> > https://embedded-brains.de/datenschutzerklaerung/
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users


More information about the users mailing list