Christian Mauderer created an issue:
https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/135
## Summary
I try to build 7/rtems-arm with the current RSB
(e4ba1611f6d47041a0b9be59827b1428c4aad9a0) with the additional gmp patch from
#134 / !190. Building gettext doesn't work with a host gcc version 15. I get
the following error in the log:
```
libtool: compile: gcc -O2 -g -pipe
-I/home/christian/rtems/rtems-simulation-env/external/rtems-source-builder/rtems/build/tmp/sb-1000/devel/qemu-xilinx/home/christian/rtems/rtems-simulation-env/rtems-install/7/include
-I/home/christian/rtems/rtems-simulation-env/external/rtems-source-builder/rtems/build/tmp/sb-1000-internal/include
-c
-DLOCALEDIR=\"/home/christian/rtems/rtems-simulation-env/rtems-install/7/share/locale\"
-DLOCALE_ALIAS_PATH=\"/home/christian/rtems/rtems-simulation-env/rtems-install/7/share/locale\"
-DLIBDIR=\"/home/christian/rtems/rtems-simulation-env/rtems-install/7/lib\"
-DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1
-DIN_LIBRARY
-DINSTALLDIR=\"/home/christian/rtems/rtems-simulation-env/rtems-install/7/lib\"
-DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix
-Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I.
-I../../../gettext-0.18.3.1/gettext-runtime/intl -I.. -g -O2
-fvisibility=hidden
../../../gettext-0.18.3.1/gettext-runtime/intl/explodename.c -o explodename.o
>/dev/null 2>&1
In file included from
../../../gettext-0.18.3.1/gettext-runtime/intl/dcigettext.c:92:
../../../gettext-0.18.3.1/gettext-runtime/intl/gettextP.h: In function 'SWAP':
../../../gettext-0.18.3.1/gettext-runtime/intl/gettextP.h:118:1: warning:
old-style function definition [-Wold-style-definition]
118 | SWAP (i)
| ^~~~
../../../gettext-0.18.3.1/gettext-runtime/intl/dcigettext.c: At top level:
../../../gettext-0.18.3.1/gettext-runtime/intl/dcigettext.c:147:7: error:
conflicting types for 'getcwd'; have 'char *(void)'
147 | char *getcwd ();
| ^~~~~~
In file included from
../../../gettext-0.18.3.1/gettext-runtime/intl/dcigettext.c:65:
/usr/include/unistd.h:531:14: note: previous declaration of 'getcwd' with type
'char *(char *, size_t)' {aka 'char *(char *, long unsigned int)'}
531 | extern char *getcwd (char *__buf, size_t __size) __THROW __wur;
| ^~~~~~
../../../gettext-0.18.3.1/gettext-runtime/intl/dcigettext.c: In function
'libintl_dcigettext':
../../../gettext-0.18.3.1/gettext-runtime/intl/dcigettext.c:640:21: error: too
many arguments to function 'getcwd'; expected 0, have 2
640 | ret = getcwd (resolved_dirname, path_max);
| ^~~~~~ ~~~~~~~~~~~~~~~~
../../../gettext-0.18.3.1/gettext-runtime/intl/dcigettext.c:147:7: note:
declared here
147 | char *getcwd ();
| ^~~~~~
```
These parts definitively changed in the current gettext. I assume that there is
a reason that we use 0.18.3.1 instead of a current 0.26. So most likely we need
a patch for the 0.18.3.1?
<!-- Pre-set options
- milestone
-->
--
View it on GitLab:
https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/135
You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs