public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* Recent change breaking most *-elf newlib targets
@ 2018-07-05 19:36 Jeff Law
  2018-07-06  1:28 ` Jeff Johnston
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Law @ 2018-07-05 19:36 UTC (permalink / raw)
  To: Takashi Yano; +Cc: newlib


This change:

commit d4f4e7ae1be1bcf8c021f2b0865aafc16b338aa3 (HEAD)
Author: Takashi Yano <takashi.yano@nifty.ne.jp>
Date:   Tue Jul 3 18:04:31 2018 +0900

    Fix a bug of perror()/psignal() that changes the orientation of stderr.

    * perror.c: Fix the problem that perror() changes the orientation
      of stderr to byte-oriented mode if stderr is not oriented yet.
    * psignal.c: Ditto.

Introduced "#include <sys/uio.h>

Most *-elf newlib targets are now failing with:

fr30-elf-gcc
-B/opt/notnfs/law/jenkins/workspace/fr30-elf/fr30-elf-obj/newlib/fr30-elf/newlib/
-isystem
/opt/notnfs/law/jenkins/workspace/fr30-elf/fr30-elf-obj/newlib/fr30-elf/newlib/targ-include
-isystem
/opt/notnfs/law/jenkins/workspace/fr30-elf/newlib/newlib/libc/include
-B/opt/notnfs/law/jenkins/workspace/fr30-elf/fr30-elf-obj/newlib/fr30-elf/libgloss/fr30
-L/opt/notnfs/law/jenkins/workspace/fr30-elf/fr30-elf-obj/newlib/fr30-elf/libgloss/libnosys
-L/opt/notnfs/law/jenkins/workspace/fr30-elf/newlib/libgloss/fr30
-DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\"
-DPACKAGE_VERSION=\"3.0.0\" -DPACKAGE_STRING=\"newlib\ 3.0.0\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I.
-I../../../../../../newlib/newlib/libc/signal -fno-builtin      -g -O2
-g -Os -c -o lib_a-signal.o `test -f 'signal.c' || echo
'../../../../../../newlib/newlib/libc/signal/'`signal.c
../../../../../../newlib/newlib/libc/signal/psignal.c:35:10: fatal
error: sys/uio.h: No such file or directory
 #include <sys/uio.h>
          ^~~~~~~~~~~
compilation terminated.
Makefile:346: recipe for target 'lib_a-psignal.o' failed
make[5]: *** [lib_a-psignal.o] Error 1
make[5]: *** Waiting for unfinished jobs....

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

* Re: Recent change breaking most *-elf newlib targets
  2018-07-05 19:36 Recent change breaking most *-elf newlib targets Jeff Law
@ 2018-07-06  1:28 ` Jeff Johnston
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Johnston @ 2018-07-06  1:28 UTC (permalink / raw)
  To: Jeff Law; +Cc: Takashi Yano, Newlib

Hi Jeff,

Thanks for notifying the list.

A revised patch from the original contributor has just been pushed to
master that does not require <sys/uio.h>.

-- Jeff J.

On Thu, Jul 5, 2018 at 2:45 PM, Jeff Law <law@redhat.com> wrote:

>
> This change:
>
> commit d4f4e7ae1be1bcf8c021f2b0865aafc16b338aa3 (HEAD)
> Author: Takashi Yano <takashi.yano@nifty.ne.jp>
> Date:   Tue Jul 3 18:04:31 2018 +0900
>
>     Fix a bug of perror()/psignal() that changes the orientation of stderr.
>
>     * perror.c: Fix the problem that perror() changes the orientation
>       of stderr to byte-oriented mode if stderr is not oriented yet.
>     * psignal.c: Ditto.
>
> Introduced "#include <sys/uio.h>
>
> Most *-elf newlib targets are now failing with:
>
> fr30-elf-gcc
> -B/opt/notnfs/law/jenkins/workspace/fr30-elf/fr30-elf-
> obj/newlib/fr30-elf/newlib/
> -isystem
> /opt/notnfs/law/jenkins/workspace/fr30-elf/fr30-elf-
> obj/newlib/fr30-elf/newlib/targ-include
> -isystem
> /opt/notnfs/law/jenkins/workspace/fr30-elf/newlib/newlib/libc/include
> -B/opt/notnfs/law/jenkins/workspace/fr30-elf/fr30-elf-
> obj/newlib/fr30-elf/libgloss/fr30
> -L/opt/notnfs/law/jenkins/workspace/fr30-elf/fr30-elf-
> obj/newlib/fr30-elf/libgloss/libnosys
> -L/opt/notnfs/law/jenkins/workspace/fr30-elf/newlib/libgloss/fr30
> -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\"
> -DPACKAGE_VERSION=\"3.0.0\" -DPACKAGE_STRING=\"newlib\ 3.0.0\"
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I.
> -I../../../../../../newlib/newlib/libc/signal -fno-builtin      -g -O2
> -g -Os -c -o lib_a-signal.o `test -f 'signal.c' || echo
> '../../../../../../newlib/newlib/libc/signal/'`signal.c
> ../../../../../../newlib/newlib/libc/signal/psignal.c:35:10: fatal
> error: sys/uio.h: No such file or directory
>  #include <sys/uio.h>
>           ^~~~~~~~~~~
> compilation terminated.
> Makefile:346: recipe for target 'lib_a-psignal.o' failed
> make[5]: *** [lib_a-psignal.o] Error 1
> make[5]: *** Waiting for unfinished jobs....
>

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

end of thread, other threads:[~2018-07-05 19:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-05 19:36 Recent change breaking most *-elf newlib targets Jeff Law
2018-07-06  1:28 ` Jeff Johnston

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