public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* newlib-3.3.0 "make install" failure?
@ 2020-03-29 10:55 Josef Wolf
  2020-03-30  7:27 ` "-j4" option don't work with "make install" [Was: newlib-3.3.0 "make install" failure?] Josef Wolf
  0 siblings, 1 reply; 3+ messages in thread
From: Josef Wolf @ 2020-03-29 10:55 UTC (permalink / raw)
  To: newlib

Hello,

while building newlib-3.3.0, I get an error at the "make install"
step. Unfortunately, I can't get any clue from the error message:

  [ ... Thousands of lines without any error messages deleted ]
  mkdir -p -- /usr/local/crossgcc/arm-none-eabi/nanoLibraries/arm-none-eabi/include
  mkdir -p -- /usr/local/crossgcc/arm-none-eabi/nanoLibraries/arm-none-eabi/include/machine
  mkdir -p -- /usr/local/crossgcc/arm-none-eabi/nanoLibraries/arm-none-eabi/include/rpc
  mkdir -p -- /usr/local/crossgcc/arm-none-eabi/nanoLibraries/arm-none-eabi/include/ssp
  mkdir -p -- /usr/local/crossgcc/arm-none-eabi/nanoLibraries/arm-none-eabi/include/sys
  mkdir -p -- /usr/local/crossgcc/arm-none-eabi/nanoLibraries/arm-none-eabi/include/bits
  make[4]: Leaving directory '/var/tmp/newlib-3.3.0-nano/arm-none-eabi/newlib'
  make[3]: Leaving directory '/var/tmp/newlib-3.3.0-nano/arm-none-eabi/newlib'
  make[2]: Leaving directory '/var/tmp/newlib-3.3.0-nano/arm-none-eabi/newlib'
  make[1]: Leaving directory '/var/tmp/newlib-3.3.0-nano'
  make: *** [Makefile:2276: install] Error 2

The make recipe in question reads like this:

  .PHONY: install uninstall
  install:
          @: $(MAKE); $(unstage)
          @r=`${PWD_COMMAND}`; export r; \           # <--- THIS IS LINE 2276
          s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
          $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target

To build the package, I used the following commands:

   $ PATH=$PATH:/usr/local/crossgcc/bin:/usr/local/crossgcc/arm-none-eabi/bin:/usr/local/crossgcc/arm-none-eabi/nanoLibraries/bin
   $ cd /var/tmp/builds/crossgcc/src
   $ tar xzf /var/tmp/builds/crossgcc/download/newlib-3.3.0.tar.gz
   $ mkdir -p /var/tmp/builds/crossgcc/build/newlib-3.3.0-nano
   $ cd /var/tmp/builds/crossgcc/build/newlib-3.3.0-nano
   $ /var/tmp/builds/crossgcc/src/newlib-3.3.0/configure \
      --prefix=/usr/local/crossgcc/arm-none-eabi/nanoLibraries \
      --target=arm-none-eabi \
      --enable-newlib-nano-malloc \
      --enable-lite-exit \
      --enable-newlib-nano-formatted-io \
      --disable-newlib-supplied-syscalls \
      --enable-newlib-reent-small \
      --disable-newlib-fvwrite-in-streamio \
      --disable-newlib-fseek-optimization \
      --disable-newlib-wide-orient \
      --disable-newlib-unbuf-stream-opt \
      --enable-newlib-global-atexit \
      --enable-newlib-retargetable-locking \
      --enable-newlib-global-stdio-streams \
      --disable-nls
   $ make -j4
   $ make -j4 install

Any ideas how to track down the problem?

-- 
Josef Wolf
jw@raven.inka.de

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

* "-j4" option don't work with "make install" [Was: newlib-3.3.0 "make install" failure?]
  2020-03-29 10:55 newlib-3.3.0 "make install" failure? Josef Wolf
@ 2020-03-30  7:27 ` Josef Wolf
  2020-03-30  7:46   ` Emmanuel Blot
  0 siblings, 1 reply; 3+ messages in thread
From: Josef Wolf @ 2020-03-30  7:27 UTC (permalink / raw)
  To: newlib

On Sun, Mar 29, 2020 at 12:55:16PM +0200, Josef Wolf wrote:

> while building newlib-3.3.0, I get an error at the "make install"
> step. Unfortunately, I can't get any clue from the error message:
> [ ... ]
> Any ideas how to track down the problem?

Uh!

"make install" has prblems with the "-j4" option!

-- 
Josef Wolf
jw@raven.inka.de

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

* Re: "-j4" option don't work with "make install" [Was: newlib-3.3.0 "make install" failure?]
  2020-03-30  7:27 ` "-j4" option don't work with "make install" [Was: newlib-3.3.0 "make install" failure?] Josef Wolf
@ 2020-03-30  7:46   ` Emmanuel Blot
  0 siblings, 0 replies; 3+ messages in thread
From: Emmanuel Blot @ 2020-03-30  7:46 UTC (permalink / raw)
  To: Josef Wolf; +Cc: newlib



On 30 Mar 2020, at 9:27, Josef Wolf wrote:

> "make install" has prblems with the "-j4" option!

Yeap, I’ve been using

make -jN
make -j1 install

for a while…

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

end of thread, other threads:[~2020-03-30  7:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-29 10:55 newlib-3.3.0 "make install" failure? Josef Wolf
2020-03-30  7:27 ` "-j4" option don't work with "make install" [Was: newlib-3.3.0 "make install" failure?] Josef Wolf
2020-03-30  7:46   ` Emmanuel Blot

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