public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* List of bugs in newlib-4.3.0 release
@ 2023-09-13 19:03 Helmer, Steven
  2023-10-15  6:29 ` Mike Frysinger
  0 siblings, 1 reply; 2+ messages in thread
From: Helmer, Steven @ 2023-09-13 19:03 UTC (permalink / raw)
  To: newlib

[-- Attachment #1: Type: text/plain, Size: 1642 bytes --]

I encountered a few bugs (compilation and others) in the newlib-4.3.0.20230120 release. Compiling using GCC version 12.2.0 for FreeRTOS and an in-house processor.


  1.  The function declaration for mcwidth in newlib/libc/string/wcwidth.c does not match the prototype in newlib/libc/include/wchar.h .

  1.  Should be including sys/types.h not sys/_types.h  in newlib/libc/include/stdio.h

  1.  In order to build boost and some other third party libraries, need to have the following defined in newlib/libc/include/glob.h

#define GLOB_NOMATCH    (-3)    /* No matches found.  */
#define GLOB_NOSYS      (-4)    /* Not implemented.  */
/* Previous versions of this file defined GLOB_ABEND instead of
 *    GLOB_ABORTED.  Provide a compatibility definition here.  */
#define GLOB_ABORTED GLOB_ABEND

  1.  In newlib/libc/locale/locale.c need to add

  int ret = 0;
inside the first #else clause in function __loadlocale . This is after the #ifdef __CYGWIN__ line.

  1.  The return type for pthread_yield should be int not void in newlib/libc/include/pthread.h.  This matches both Linux and FreeRTOSLabs posix threads.






Arcfield Proprietary E-MAIL CONTENT CLASSIFICATION NOTICE CONFIDENTIAL AND/OR PROPRIETARY INFORMATION OF ARCFIELD. This e-mail message and/or its attachment contains confidential and/or proprietary information of Arcfield that may only be received, disclosed, or used as authorized by Arcfield. The information in this message may be exempt from release under the Freedom of Information Act. If you received this message in error, please delete all copies and promptly notify the sender.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: List of bugs in newlib-4.3.0 release
  2023-09-13 19:03 List of bugs in newlib-4.3.0 release Helmer, Steven
@ 2023-10-15  6:29 ` Mike Frysinger
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2023-10-15  6:29 UTC (permalink / raw)
  To: Helmer, Steven; +Cc: newlib

[-- Attachment #1: Type: text/plain, Size: 60 bytes --]

can you send patches for the issues you encountered ?
-mike

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-15  6:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-13 19:03 List of bugs in newlib-4.3.0 release Helmer, Steven
2023-10-15  6:29 ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).