RTEMS Source Builder | Add std::filesystem chdir and mkdir support to libstdc++v3 (#46)

Chris Johns (@chris) gitlab at rtems.org
Sat Nov 16 23:00:02 UTC 2024




Chris Johns commented: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/46#note_115070


It does not fix the directory management because the tests fail. The configure test results I can see are:

```
checking for chmod... no
checking for mkdir... no
checking for chdir... no
checking for getcwd... yes
checking for realpath... no
checking for utimensat... no
checking for utime... no
checking for lstat... yes
checking for struct stat.st_mtim.tv_nsec... yes
checking for fchmod... yes
checking for fchmodat... no
checking for sendfile that can copy files... no
checking for link... no
checking for readlink... no
checking for symlink... no
checking for truncate... no
checking for fdopendir... yes
checking for dirfd... yes
checking for openat... no
checking for unlinkat... no
```

In `acinclude.m4` the `mkdir` change says:

```
AC_DEFINE(_GLIBCXX_USE_MKDIR, 1, [Define if usable mkdir is available in <sys/stat.h>.])
```

I will test defining this by manually hacking the patch to add the `_GLIBCXX_USE_*` defines.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/46#note_115070
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241116/b28a5a7f/attachment-0001.htm>


More information about the bugs mailing list