[Patch, libgfortran] PR53445/53444 - Fix compilation on VxWorks
Tobias Burnus
burnus@net-b.de
Tue May 22 13:06:00 GMT 2012
The attached patches fix compilation issues on VxWorks.
a) VxWorks has strerror_r but contrary to POSIX, the function in VxWorks
(at least in older versions) takes only two arguments: errnum and buf
and not also the buffer length. I added a configure check for that variant.
b) There is no sticky bit on VxWorks - which is now ignored via an #ifdef.
The patch of (b) is the bug reporter's and, thus, tested on VxWorks.
(a) and (b) have been successfully bootstrapped on x86-64-linux.
OK for the trunk?
(I have regenerated the files with the latest 1.11 automake (1.11.5).
Before the committal, I will re-generate them with 1.11.1.)
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chmod-vxworks.diff
Type: text/x-patch
Size: 1132 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120522/e2528f29/attachment.bin>
More information about the Gcc-patches
mailing list