public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] newlib: drop phoenix support
@ 2022-03-15  3:58 Mike Frysinger
  2022-03-17  9:56 ` Corinna Vinschen
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Frysinger @ 2022-03-15  3:58 UTC (permalink / raw)
  To: newlib; +Cc: Kuba Sejdak

This code has not been updated since 2016, and it looks like it has
rotted quite a bit since.  It does not build against the current set
of phoenix sources -- I had to hack both the kernel headers and the
newlib headers up to get it to build, and I still have no idea if it
actually links or runs.  It seems like the project itself has moved
away from newlib and to its own C library:
https://phoenix-rtos.com/documentation/libc/README.md

So since there's no interest from the phoenix folks to maintain this,
and it has a significant amount of non-standard code that we try to
keep up-to-date (without actually testing it), just punt it all.
---
 COPYING.NEWLIB                                |    49 +-
 newlib/Makefile.in                            | 38315 ++++++++++++----
 newlib/NEWS                                   |     1 +
 newlib/aclocal.m4                             |   316 +
 newlib/configure                              |   477 +-
 newlib/configure.host                         |    10 -
 newlib/libc/acinclude.m4                      |     2 -
 newlib/libc/sys/Makefile.inc                  |     3 -
 newlib/libc/sys/phoenix/Makefile.inc          |   105 -
 newlib/libc/sys/phoenix/acinclude.m4          |     8 -
 newlib/libc/sys/phoenix/alarm.c               |    29 -
 newlib/libc/sys/phoenix/bits/posix_opt.h      |   146 -
 newlib/libc/sys/phoenix/chmod.c               |    50 -
 newlib/libc/sys/phoenix/chown.c               |    61 -
 newlib/libc/sys/phoenix/clocks.c              |    50 -
 newlib/libc/sys/phoenix/dup.c                 |    50 -
 newlib/libc/sys/phoenix/endmntent.c           |    31 -
 newlib/libc/sys/phoenix/exec.c                |    55 -
 newlib/libc/sys/phoenix/fcntl.c               |    48 -
 newlib/libc/sys/phoenix/fork.c                |    70 -
 newlib/libc/sys/phoenix/fs.c                  |   130 -
 newlib/libc/sys/phoenix/getentropy.c          |    48 -
 newlib/libc/sys/phoenix/getmntent.c           |   101 -
 newlib/libc/sys/phoenix/getpagesize.c         |    31 -
 newlib/libc/sys/phoenix/groups.c              |   100 -
 newlib/libc/sys/phoenix/ids.c                 |   137 -
 newlib/libc/sys/phoenix/include/arpa/inet.h   |    47 -
 .../libc/sys/phoenix/include/arpa/nameser.h   |    44 -
 newlib/libc/sys/phoenix/include/arpa/telnet.h |   327 -
 newlib/libc/sys/phoenix/include/features.h    |    30 -
 newlib/libc/sys/phoenix/include/mntent.h      |    66 -
 newlib/libc/sys/phoenix/include/net/if.h      |   239 -
 newlib/libc/sys/phoenix/include/net/if_arp.h  |   117 -
 newlib/libc/sys/phoenix/include/netdb.h       |   225 -
 newlib/libc/sys/phoenix/include/netinet/in.h  |   362 -
 .../sys/phoenix/include/netinet/in_systm.h    |    53 -
 newlib/libc/sys/phoenix/include/netinet/ip.h  |   176 -
 .../libc/sys/phoenix/include/netinet6/in6.h   |   420 -
 .../sys/phoenix/include/netpacket/packet.h    |    63 -
 newlib/libc/sys/phoenix/include/poll.h        |    30 -
 newlib/libc/sys/phoenix/include/semaphore.h   |    52 -
 newlib/libc/sys/phoenix/include/syslog.h      |   143 -
 newlib/libc/sys/phoenix/include/time.h        |    68 -
 newlib/libc/sys/phoenix/io.c                  |   100 -
 newlib/libc/sys/phoenix/ioctl.c               |    43 -
 .../libc/sys/phoenix/machine/arm/Makefile.inc |     1 -
 newlib/libc/sys/phoenix/machine/arm/crt0.S    |    54 -
 newlib/libc/sys/phoenix/machine/arm/syscall.S |    52 -
 newlib/libc/sys/phoenix/mmap.c                |    49 -
 newlib/libc/sys/phoenix/mount.c               |    54 -
 newlib/libc/sys/phoenix/nanosleep.c           |    40 -
 newlib/libc/sys/phoenix/net/domainname.c      |    52 -
 newlib/libc/sys/phoenix/net/freeaddrinfo.c    |    52 -
 newlib/libc/sys/phoenix/net/getaddrinfo.c     |   185 -
 newlib/libc/sys/phoenix/net/gethostbyaddr.c   |    33 -
 newlib/libc/sys/phoenix/net/gethostbyname.c   |    33 -
 newlib/libc/sys/phoenix/net/getnameinfo.c     |    33 -
 newlib/libc/sys/phoenix/net/getservbyname.c   |    33 -
 newlib/libc/sys/phoenix/net/getservbyport.c   |    33 -
 newlib/libc/sys/phoenix/net/herror.c          |    38 -
 newlib/libc/sys/phoenix/net/hostname.c        |    52 -
 newlib/libc/sys/phoenix/net/inet_addr.c       |    66 -
 newlib/libc/sys/phoenix/net/inet_aton.c       |   163 -
 newlib/libc/sys/phoenix/net/inet_lnaof.c      |    46 -
 newlib/libc/sys/phoenix/net/inet_makeaddr.c   |    51 -
 newlib/libc/sys/phoenix/net/inet_net_ntop.c   |   107 -
 newlib/libc/sys/phoenix/net/inet_net_pton.c   |   190 -
 newlib/libc/sys/phoenix/net/inet_netof.c      |    46 -
 newlib/libc/sys/phoenix/net/inet_network.c    |   102 -
 newlib/libc/sys/phoenix/net/inet_ntoa.c       |    35 -
 newlib/libc/sys/phoenix/net/inet_ntop.c       |   171 -
 newlib/libc/sys/phoenix/net/inet_pton.c       |   198 -
 newlib/libc/sys/phoenix/net/nametoindex.c     |    50 -
 newlib/libc/sys/phoenix/net/network.c         |    49 -
 newlib/libc/sys/phoenix/phoenix.c             |    23 -
 newlib/libc/sys/phoenix/pid.c                 |    37 -
 newlib/libc/sys/phoenix/pipe.c                |    38 -
 newlib/libc/sys/phoenix/poll.c                |    39 -
 newlib/libc/sys/phoenix/realpath.c            |   104 -
 newlib/libc/sys/phoenix/reboot.c              |    38 -
 newlib/libc/sys/phoenix/resource.c            |    88 -
 newlib/libc/sys/phoenix/sbrk.c                |    48 -
 newlib/libc/sys/phoenix/sched.c               |   107 -
 newlib/libc/sys/phoenix/select.c              |    30 -
 newlib/libc/sys/phoenix/semaphore.c           |   168 -
 newlib/libc/sys/phoenix/setmntent.c           |    30 -
 newlib/libc/sys/phoenix/shm.c                 |    68 -
 newlib/libc/sys/phoenix/signal.c              |    75 -
 newlib/libc/sys/phoenix/socket.c              |   138 -
 newlib/libc/sys/phoenix/sockopt.c             |    77 -
 newlib/libc/sys/phoenix/stat.c                |    66 -
 newlib/libc/sys/phoenix/statfs.c              |    39 -
 newlib/libc/sys/phoenix/symlink.c             |    60 -
 newlib/libc/sys/phoenix/sync.c                |    50 -
 newlib/libc/sys/phoenix/sys/_default_fcntl.h  |    38 -
 newlib/libc/sys/phoenix/sys/_null.h           |    41 -
 newlib/libc/sys/phoenix/sys/_timespec.h       |    30 -
 newlib/libc/sys/phoenix/sys/_timeval.h        |    30 -
 newlib/libc/sys/phoenix/sys/_types.h          |    74 -
 newlib/libc/sys/phoenix/sys/dirent.h          |    61 -
 newlib/libc/sys/phoenix/sys/errno.h           |    42 -
 newlib/libc/sys/phoenix/sys/ioctl.h           |    32 -
 newlib/libc/sys/phoenix/sys/ipc.h             |    30 -
 newlib/libc/sys/phoenix/sys/mman.h            |    38 -
 newlib/libc/sys/phoenix/sys/mount.h           |    42 -
 newlib/libc/sys/phoenix/sys/network.h         |    31 -
 newlib/libc/sys/phoenix/sys/param.h           |    50 -
 newlib/libc/sys/phoenix/sys/poll.h            |    32 -
 newlib/libc/sys/phoenix/sys/reboot.h          |    32 -
 newlib/libc/sys/phoenix/sys/resource.h        |   121 -
 newlib/libc/sys/phoenix/sys/sched.h           |    38 -
 newlib/libc/sys/phoenix/sys/select.h          |    36 -
 newlib/libc/sys/phoenix/sys/shm.h             |    30 -
 newlib/libc/sys/phoenix/sys/signal.h          |   102 -
 newlib/libc/sys/phoenix/sys/socket.h          |    70 -
 newlib/libc/sys/phoenix/sys/stat.h            |    70 -
 newlib/libc/sys/phoenix/sys/statfs.h          |    30 -
 newlib/libc/sys/phoenix/sys/stdio.h           |    40 -
 newlib/libc/sys/phoenix/sys/termios.h         |    38 -
 newlib/libc/sys/phoenix/sys/time.h            |    46 -
 newlib/libc/sys/phoenix/sys/timespec.h        |    30 -
 newlib/libc/sys/phoenix/sys/timeval.h         |    30 -
 newlib/libc/sys/phoenix/sys/types.h           |   113 -
 newlib/libc/sys/phoenix/sys/uio.h             |    40 -
 newlib/libc/sys/phoenix/sys/un.h              |    40 -
 newlib/libc/sys/phoenix/sys/unistd.h          |   309 -
 newlib/libc/sys/phoenix/sys/utmp.h            |    45 -
 newlib/libc/sys/phoenix/sys/utsname.h         |    32 -
 newlib/libc/sys/phoenix/sys/vfs.h             |    38 -
 newlib/libc/sys/phoenix/sys/wait.h            |    45 -
 newlib/libc/sys/phoenix/syscall.h             |   127 -
 newlib/libc/sys/phoenix/sysconf.c             |    32 -
 newlib/libc/sys/phoenix/syslog.c              |   106 -
 newlib/libc/sys/phoenix/time.c                |   103 -
 newlib/libc/sys/phoenix/truncate.c            |    50 -
 newlib/libc/sys/phoenix/tty.c                 |   125 -
 newlib/libc/sys/phoenix/uname.c               |    39 -
 newlib/libc/sys/phoenix/utime.c               |    68 -
 newlib/libc/sys/phoenix/wait.c                |    58 -
 139 files changed, 31199 insertions(+), 17874 deletions(-)
 delete mode 100644 newlib/libc/sys/phoenix/Makefile.inc
 delete mode 100644 newlib/libc/sys/phoenix/acinclude.m4
 delete mode 100644 newlib/libc/sys/phoenix/alarm.c
 delete mode 100644 newlib/libc/sys/phoenix/bits/posix_opt.h
 delete mode 100644 newlib/libc/sys/phoenix/chmod.c
 delete mode 100644 newlib/libc/sys/phoenix/chown.c
 delete mode 100644 newlib/libc/sys/phoenix/clocks.c
 delete mode 100644 newlib/libc/sys/phoenix/dup.c
 delete mode 100644 newlib/libc/sys/phoenix/endmntent.c
 delete mode 100644 newlib/libc/sys/phoenix/exec.c
 delete mode 100644 newlib/libc/sys/phoenix/fcntl.c
 delete mode 100644 newlib/libc/sys/phoenix/fork.c
 delete mode 100644 newlib/libc/sys/phoenix/fs.c
 delete mode 100644 newlib/libc/sys/phoenix/getentropy.c
 delete mode 100644 newlib/libc/sys/phoenix/getmntent.c
 delete mode 100644 newlib/libc/sys/phoenix/getpagesize.c
 delete mode 100644 newlib/libc/sys/phoenix/groups.c
 delete mode 100644 newlib/libc/sys/phoenix/ids.c
 delete mode 100644 newlib/libc/sys/phoenix/include/arpa/inet.h
 delete mode 100644 newlib/libc/sys/phoenix/include/arpa/nameser.h
 delete mode 100644 newlib/libc/sys/phoenix/include/arpa/telnet.h
 delete mode 100644 newlib/libc/sys/phoenix/include/features.h
 delete mode 100644 newlib/libc/sys/phoenix/include/mntent.h
 delete mode 100644 newlib/libc/sys/phoenix/include/net/if.h
 delete mode 100644 newlib/libc/sys/phoenix/include/net/if_arp.h
 delete mode 100644 newlib/libc/sys/phoenix/include/netdb.h
 delete mode 100644 newlib/libc/sys/phoenix/include/netinet/in.h
 delete mode 100644 newlib/libc/sys/phoenix/include/netinet/in_systm.h
 delete mode 100644 newlib/libc/sys/phoenix/include/netinet/ip.h
 delete mode 100644 newlib/libc/sys/phoenix/include/netinet6/in6.h
 delete mode 100644 newlib/libc/sys/phoenix/include/netpacket/packet.h
 delete mode 100644 newlib/libc/sys/phoenix/include/poll.h
 delete mode 100644 newlib/libc/sys/phoenix/include/semaphore.h
 delete mode 100644 newlib/libc/sys/phoenix/include/syslog.h
 delete mode 100644 newlib/libc/sys/phoenix/include/time.h
 delete mode 100644 newlib/libc/sys/phoenix/io.c
 delete mode 100644 newlib/libc/sys/phoenix/ioctl.c
 delete mode 100644 newlib/libc/sys/phoenix/machine/arm/Makefile.inc
 delete mode 100644 newlib/libc/sys/phoenix/machine/arm/crt0.S
 delete mode 100644 newlib/libc/sys/phoenix/machine/arm/syscall.S
 delete mode 100644 newlib/libc/sys/phoenix/mmap.c
 delete mode 100644 newlib/libc/sys/phoenix/mount.c
 delete mode 100644 newlib/libc/sys/phoenix/nanosleep.c
 delete mode 100644 newlib/libc/sys/phoenix/net/domainname.c
 delete mode 100644 newlib/libc/sys/phoenix/net/freeaddrinfo.c
 delete mode 100644 newlib/libc/sys/phoenix/net/getaddrinfo.c
 delete mode 100644 newlib/libc/sys/phoenix/net/gethostbyaddr.c
 delete mode 100644 newlib/libc/sys/phoenix/net/gethostbyname.c
 delete mode 100644 newlib/libc/sys/phoenix/net/getnameinfo.c
 delete mode 100644 newlib/libc/sys/phoenix/net/getservbyname.c
 delete mode 100644 newlib/libc/sys/phoenix/net/getservbyport.c
 delete mode 100644 newlib/libc/sys/phoenix/net/herror.c
 delete mode 100644 newlib/libc/sys/phoenix/net/hostname.c
 delete mode 100644 newlib/libc/sys/phoenix/net/inet_addr.c
 delete mode 100644 newlib/libc/sys/phoenix/net/inet_aton.c
 delete mode 100644 newlib/libc/sys/phoenix/net/inet_lnaof.c
 delete mode 100644 newlib/libc/sys/phoenix/net/inet_makeaddr.c
 delete mode 100644 newlib/libc/sys/phoenix/net/inet_net_ntop.c
 delete mode 100644 newlib/libc/sys/phoenix/net/inet_net_pton.c
 delete mode 100644 newlib/libc/sys/phoenix/net/inet_netof.c
 delete mode 100644 newlib/libc/sys/phoenix/net/inet_network.c
 delete mode 100644 newlib/libc/sys/phoenix/net/inet_ntoa.c
 delete mode 100644 newlib/libc/sys/phoenix/net/inet_ntop.c
 delete mode 100644 newlib/libc/sys/phoenix/net/inet_pton.c
 delete mode 100644 newlib/libc/sys/phoenix/net/nametoindex.c
 delete mode 100644 newlib/libc/sys/phoenix/net/network.c
 delete mode 100644 newlib/libc/sys/phoenix/phoenix.c
 delete mode 100644 newlib/libc/sys/phoenix/pid.c
 delete mode 100644 newlib/libc/sys/phoenix/pipe.c
 delete mode 100644 newlib/libc/sys/phoenix/poll.c
 delete mode 100644 newlib/libc/sys/phoenix/realpath.c
 delete mode 100644 newlib/libc/sys/phoenix/reboot.c
 delete mode 100644 newlib/libc/sys/phoenix/resource.c
 delete mode 100644 newlib/libc/sys/phoenix/sbrk.c
 delete mode 100644 newlib/libc/sys/phoenix/sched.c
 delete mode 100644 newlib/libc/sys/phoenix/select.c
 delete mode 100644 newlib/libc/sys/phoenix/semaphore.c
 delete mode 100644 newlib/libc/sys/phoenix/setmntent.c
 delete mode 100644 newlib/libc/sys/phoenix/shm.c
 delete mode 100644 newlib/libc/sys/phoenix/signal.c
 delete mode 100644 newlib/libc/sys/phoenix/socket.c
 delete mode 100644 newlib/libc/sys/phoenix/sockopt.c
 delete mode 100644 newlib/libc/sys/phoenix/stat.c
 delete mode 100644 newlib/libc/sys/phoenix/statfs.c
 delete mode 100644 newlib/libc/sys/phoenix/symlink.c
 delete mode 100644 newlib/libc/sys/phoenix/sync.c
 delete mode 100644 newlib/libc/sys/phoenix/sys/_default_fcntl.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/_null.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/_timespec.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/_timeval.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/_types.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/dirent.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/errno.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/ioctl.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/ipc.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/mman.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/mount.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/network.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/param.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/poll.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/reboot.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/resource.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/sched.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/select.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/shm.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/signal.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/socket.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/stat.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/statfs.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/stdio.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/termios.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/time.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/timespec.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/timeval.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/types.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/uio.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/un.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/unistd.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/utmp.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/utsname.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/vfs.h
 delete mode 100644 newlib/libc/sys/phoenix/sys/wait.h
 delete mode 100644 newlib/libc/sys/phoenix/syscall.h
 delete mode 100644 newlib/libc/sys/phoenix/sysconf.c
 delete mode 100644 newlib/libc/sys/phoenix/syslog.c
 delete mode 100644 newlib/libc/sys/phoenix/time.c
 delete mode 100644 newlib/libc/sys/phoenix/truncate.c
 delete mode 100644 newlib/libc/sys/phoenix/tty.c
 delete mode 100644 newlib/libc/sys/phoenix/uname.c
 delete mode 100644 newlib/libc/sys/phoenix/utime.c
 delete mode 100644 newlib/libc/sys/phoenix/wait.c

diff --git a/COPYING.NEWLIB b/COPYING.NEWLIB
index 30518cf8420d..2d1473639b60 100644
--- a/COPYING.NEWLIB
+++ b/COPYING.NEWLIB
@@ -1023,33 +1023,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 POSSIBILITY OF SUCH DAMAGE.
 
-(45) Phoenix Systems - Phoenix-RTOS targets
-
-Copyright (c) 2016 Phoenix Systems
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
-1. Redistributions of source code must retain the above copyright
-   notice, this list of conditions and the following disclaimer.
-2. Redistributions in binary form must reproduce the above copyright
-   notice, this list of conditions and the following disclaimer in the
-   documentation and/or other materials provided with the distribution.
-
-THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-SUCH DAMAGE.
-
-(46) embedded brains - RTEMS targets
+(45) embedded brains - RTEMS targets
 
 Copyright (c) 2017 embedded brains GmbH
 All rights reserved.
@@ -1075,7 +1049,7 @@ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 SUCH DAMAGE.
 
-(47) John Baldwin - RTEMS targets
+(46) John Baldwin - RTEMS targets
 
 Copyright (c) 2015 John Baldwin <jhb@FreeBSD.org>.
 All rights reserved.
@@ -1104,8 +1078,7 @@ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 SUCH DAMAGE.
 
-
-(48) Jeffrey Roberson - RTEMS targets
+(47) Jeffrey Roberson - RTEMS targets
 
 Copyright (c) 2008, Jeffrey Roberson <jeff@freebsd.org>
 All rights reserved.
@@ -1134,7 +1107,7 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
-(49) - SiFive Inc. (riscv-* targets)
+(48) - SiFive Inc. (riscv-* targets)
 
 Copyright (c) 2017  SiFive Inc. All rights reserved.
 
@@ -1146,7 +1119,7 @@ including the implied warranties of MERCHANTABILITY or FITNESS FOR
 A PARTICULAR PURPOSE.  A copy of this license is available at
 http://www.opensource.org/licenses.
 
-(50) Michael R. Neilly (riscv-* targets)
+(49) Michael R. Neilly (riscv-* targets)
 
 (c) Copyright 2017 Michael R. Neilly
 All rights reserved.
@@ -1179,7 +1152,7 @@ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
 ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 POSSIBILITY OF SUCH DAMAGE.
 
-(51) Mentor Graphics (amdgcn-* targets)
+(50) Mentor Graphics (amdgcn-* targets)
 
 Copyright (c) 2014-2017 Mentor Graphics.
 
@@ -1193,7 +1166,7 @@ and need not follow the licensing terms described here, provided that
 the new terms are clearly indicated on the first page of each file where
 they apply.
 
-(52) BSD-2-Clause-FreeBSD (pru-* targets) 
+(51) BSD-2-Clause-FreeBSD (pru-* targets) 
 
 SPDX-License-Identifier: BSD-2-Clause-FreeBSD
 
@@ -1220,7 +1193,7 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
-(53) Andrew Turner (arm-* targets)
+(52) Andrew Turner (arm-* targets)
 
 Copyright (c) 2013 Andrew Turner <andrew@FreeBSD.ORG>
 All rights reserved.
@@ -1246,7 +1219,7 @@ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 SUCH DAMAGE.
 
-(54) BSD-2-Clause-FreeBSD David Schultz (arm-* targets)
+(53) BSD-2-Clause-FreeBSD David Schultz (arm-* targets)
 
 SPDX-License-Identifier: BSD-2-Clause-FreeBSD
 
@@ -1274,7 +1247,7 @@ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 SUCH DAMAGE.
 
-(55) - C-SKY Microsystems (csky-* targets)
+(54) - C-SKY Microsystems (csky-* targets)
 
 Copyright (c) 2020  C-SKY Microsystems All rights reserved.
 
@@ -1286,7 +1259,7 @@ including the implied warranties of MERCHANTABILITY or FITNESS FOR
 A PARTICULAR PURPOSE.  A copy of this license is available at
 http://www.opensource.org/licenses.
 
-(56) BSD-3-Clause-FreeBSD Peter Wemm (rtems targets)
+(55) BSD-3-Clause-FreeBSD Peter Wemm (rtems targets)
 
 SPDX-License-Identifier: BSD-3-Clause
 
diff --git a/newlib/NEWS b/newlib/NEWS
index c8e5a7cd3674..c39b925c4664 100644
--- a/newlib/NEWS
+++ b/newlib/NEWS
@@ -2,6 +2,7 @@
 
 - remove i?86-pc-linux-gnu support
 - remove decstation & sunos support
+- remove phoenix OS support
 - build system internals heavily rewritten & updated
 
 *** Major changes in newlib version 4.2.0:
diff --git a/newlib/configure.host b/newlib/configure.host
index 8344d7923cc2..3cfed4ccf95f 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -427,11 +427,6 @@ case "${host}" in
 	signal_dir=
 	sys_dir=netware
 	;;
-  *-*-phoenix*)
-	sys_dir=phoenix
-	posix_dir=posix
-	unix_dir=unix
-	;;
   *-*-rtems*)			# generic RTEMS support
 	sys_dir=rtems
 	posix_dir=posix
@@ -595,11 +590,6 @@ case "${host}" in
 	newlib_cflags="${newlib_cflags} -DHAVE_OPENDIR -DHAVE_RENAME -DGETREENT_PROVIDED -DSIGNAL_PROVIDED -DHAVE_BLKSIZE -DHAVE_FCNTL -DMALLOC_PROVIDED"
 	syscall_dir=syscalls
 	;;
-  *-*-phoenix*)
-	newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES -DHAVE_BLKSIZE -DHAVE_NANOSLEEP"
-	default_newlib_io_long_long="yes"
-	syscall_dir=
-	;;
 # RTEMS supplies its own versions of some routines:
 #       malloc()            (reentrant version)
 #       exit()              RTEMS has a "global" reent to flush
diff --git a/newlib/libc/acinclude.m4 b/newlib/libc/acinclude.m4
index 5629f9e5c498..7cba7db398a9 100644
--- a/newlib/libc/acinclude.m4
+++ b/newlib/libc/acinclude.m4
@@ -19,7 +19,6 @@ m4_foreach_w([SYS_DIR], [
   m88kbug mmixware
   netware
   or1k
-  phoenix
   rdos rtems
   sh sysmec sysnec810 sysnecv850 sysvi386 sysvnecv70
   tic80 tirtos
@@ -39,7 +38,6 @@ m4_include([libc/machine/nds32/acinclude.m4])
 m4_include([libc/machine/powerpc/acinclude.m4])
 m4_include([libc/machine/sh/acinclude.m4])
 m4_include([libc/machine/spu/acinclude.m4])
-m4_include([libc/sys/phoenix/acinclude.m4])
 
 m4_foreach_w([MACHINE], [
   aarch64 amdgcn arc arm
diff --git a/newlib/libc/sys/Makefile.inc b/newlib/libc/sys/Makefile.inc
index 69a59d4ef8a6..9f8758934e21 100644
--- a/newlib/libc/sys/Makefile.inc
+++ b/newlib/libc/sys/Makefile.inc
@@ -31,9 +31,6 @@ endif
 if HAVE_LIBC_SYS_OR1K_DIR
 include %D%/or1k/Makefile.inc
 endif
-if HAVE_LIBC_SYS_PHOENIX_DIR
-include %D%/phoenix/Makefile.inc
-endif
 if HAVE_LIBC_SYS_RDOS_DIR
 include %D%/rdos/Makefile.inc
 endif
-- 
2.34.1


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

* Re: [PATCH] newlib: drop phoenix support
  2022-03-15  3:58 [PATCH] newlib: drop phoenix support Mike Frysinger
@ 2022-03-17  9:56 ` Corinna Vinschen
  2022-03-17 10:14   ` Corinna Vinschen
  0 siblings, 1 reply; 3+ messages in thread
From: Corinna Vinschen @ 2022-03-17  9:56 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: newlib, Kuba Sejdak, contact

[CC official contact address of the phoenix-rtos HQ]

On Mar 14 23:58, Mike Frysinger wrote:
> This code has not been updated since 2016, and it looks like it has
> rotted quite a bit since.  It does not build against the current set
> of phoenix sources -- I had to hack both the kernel headers and the
> newlib headers up to get it to build, and I still have no idea if it
> actually links or runs.  It seems like the project itself has moved
> away from newlib and to its own C library:
> https://phoenix-rtos.com/documentation/libc/README.md
> 
> So since there's no interest from the phoenix folks to maintain this,
> and it has a significant amount of non-standard code that we try to
> keep up-to-date (without actually testing it), just punt it all.

Let's wait another week for a reply from the phoenix folks.  If we
don't get one, feel free to push the patches same time next week.


Thanks,
Corinna


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

* Re: [PATCH] newlib: drop phoenix support
  2022-03-17  9:56 ` Corinna Vinschen
@ 2022-03-17 10:14   ` Corinna Vinschen
  0 siblings, 0 replies; 3+ messages in thread
From: Corinna Vinschen @ 2022-03-17 10:14 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: newlib, contact

On Mar 17 10:56, Corinna Vinschen wrote:
> [CC official contact address of the phoenix-rtos HQ]

The message you sent to jakub.sejdak@phoesys.com couldn't be delivered due to:
Recipient email address is possibly incorrect.

So let's see if anybody from the company reads the contact inbox.

> On Mar 14 23:58, Mike Frysinger wrote:
> > This code has not been updated since 2016, and it looks like it has
> > rotted quite a bit since.  It does not build against the current set
> > of phoenix sources -- I had to hack both the kernel headers and the
> > newlib headers up to get it to build, and I still have no idea if it
> > actually links or runs.  It seems like the project itself has moved
> > away from newlib and to its own C library:
> > https://phoenix-rtos.com/documentation/libc/README.md
> > 
> > So since there's no interest from the phoenix folks to maintain this,
> > and it has a significant amount of non-standard code that we try to
> > keep up-to-date (without actually testing it), just punt it all.
> 
> Let's wait another week for a reply from the phoenix folks.  If we
> don't get one, feel free to push the patches same time next week.
> 
> 
> Thanks,
> Corinna


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

end of thread, other threads:[~2022-03-17 10:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-15  3:58 [PATCH] newlib: drop phoenix support Mike Frysinger
2022-03-17  9:56 ` Corinna Vinschen
2022-03-17 10:14   ` Corinna Vinschen

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).