unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Marius Bakke <mbakke@fastmail.com>
To: Ricardo Wurmus <rekado@elephly.net>, 41210-done@debbugs.gnu.org
Subject: bug#41210: gcc-cross-sans-libc-arm-none-eabi-4.9.4-1.227977 fails to build
Date: Wed, 13 May 2020 21:14:34 +0200	[thread overview]
Message-ID: <87pnb7ve91.fsf@devup.no> (raw)
In-Reply-To: <87o8qt1bhm.fsf@elephly.net>

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

Ricardo Wurmus <rekado@elephly.net> writes:

> gcc-cross-sans-libc-arm-none-eabi-4.9.4-1.227977 (an input to
> axoloti-patcher) fails to build.
>
> Just like with issue #41209 the headers for both GCC 5 and 7 are
> included.
>
> --8<---------------cut here---------------start------------->8---
> …
> make[2]: Leaving directory '/tmp/guix-build-avr-gcc-5.5.0.drv-0/build/fixincludes'
> g++  -I../../gcc-5.5.0/libcpp -I. -I../../gcc-5.5.0/libcpp/../include -I../../gcc-5.5.0/libcpp/include  -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long  -fno-exceptions -fno-rtti -I../../gcc-5.5.0/libcpp -I. -I../../gcc-5.5.0/libcpp/../include -I../../gcc-5.5.0/libcpp/include   -c -o directives.o -MT directives.o -MMD -MP -MF .deps/directives.Tpo ../../gcc-5.5.0/libcpp/directives.c
> ../../gcc-5.5.0/libcpp/charset.c: In function ‘bool cpp_interpret_string(cpp_reader*, const cpp_string*, size_t, cpp_string*, cpp_ttype)’:
> ../../gcc-5.5.0/libcpp/charset.c:1453:18: error: ‘free’ was not declared in this scope
>    free (tbuf.text);
>                   ^
> ../../gcc-5.5.0/libcpp/charset.c: In function ‘cppchar_t cpp_interpret_charconst(cpp_reader*, const cpp_token*, unsigned int*, int*)’:
> ../../gcc-5.5.0/libcpp/charset.c:1633:27: error: ‘free’ was not declared in this scope
>      free ((void *)str.text);
>                            ^
> ../../gcc-5.5.0/libcpp/charset.c: In function ‘uchar* _cpp_convert_input(cpp_reader*, const char*, uchar*, size_t, size_t, const unsigned char**, off_t*)’:
> ../../gcc-5.5.0/libcpp/charset.c:1732:18: error: ‘free’ was not declared in this scope
>        free (input);
>                   ^
> In file included from /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:36:0,
>                  from ../../gcc-5.5.0/libcpp/system.h:214,
>                  from ../../gcc-5.5.0/libcpp/directives.c:22:
> /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:118:11: error: ‘::div_t’ has not been declared
>    using ::div_t;
>            ^
> /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:119:11: error: ‘::ldiv_t’ has not been declared
>    using ::ldiv_t;
>            ^
> /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:121:11: error: ‘::abort’ has not been declared
>    using ::abort;
>            ^
> /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:122:11: error: ‘::abs’ has not been declared
>    using ::abs;
>            ^
> /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:123:11: error: ‘::atexit’ has not been declared
>    using ::atexit;
>            ^
> /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:129:11: error: ‘::atof’ has not been declared
>    using ::atof;
>            ^
> /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:130:11: error: ‘::atoi’ has not been declared
>    using ::atoi;
>            ^
> /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:131:11: error: ‘::atol’ has not been declared
>    using ::atol;
> …
> In file included from ../../gcc-5.5.0/libcpp/system.h:214:0,
>                  from ../../gcc-5.5.0/libcpp/directives.c:22:
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:38:12: error: ‘std::abort’ has not been declared
>  using std::abort;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:39:12: error: ‘std::atexit’ has not been declared
>  using std::atexit;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:40:12: error: ‘std::exit’ has not been declared
>  using std::exit;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:51:12: error: ‘std::div_t’ has not been declared
>  using std::div_t;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:52:12: error: ‘std::ldiv_t’ has not been declared
>  using std::ldiv_t;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:55:12: error: ‘std::atof’ has not been declared
>  using std::atof;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:56:12: error: ‘std::atoi’ has not been declared
>  using std::atoi;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:57:12: error: ‘std::atol’ has not been declared
>  using std::atol;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:58:12: error: ‘std::bsearch’ has not been declared
>  using std::bsearch;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:59:12: error: ‘std::calloc’ has not been declared
>  using std::calloc;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:60:12: error: ‘std::div’ has not been declared
>  using std::div;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:61:12: error: ‘std::free’ has not been declared
>  using std::free;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:62:12: error: ‘std::getenv’ has not been declared
>  using std::getenv;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:63:12: error: ‘std::labs’ has not been declared
>  using std::labs;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:64:12: error: ‘std::ldiv’ has not been declared
>  using std::ldiv;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:65:12: error: ‘std::malloc’ has not been declared
>  using std::malloc;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:67:12: error: ‘std::mblen’ has not been declared
>  using std::mblen;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:68:12: error: ‘std::mbstowcs’ has not been declared
>  using std::mbstowcs;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:69:12: error: ‘std::mbtowc’ has not been declared
>  using std::mbtowc;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:71:12: error: ‘std::qsort’ has not been declared
>  using std::qsort;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:72:12: error: ‘std::rand’ has not been declared
>  using std::rand;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:73:12: error: ‘std::realloc’ has not been declared
>  using std::realloc;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:74:12: error: ‘std::srand’ has not been declared
>  using std::srand;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:75:12: error: ‘std::strtod’ has not been declared
>  using std::strtod;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:76:12: error: ‘std::strtol’ has not been declared
>  using std::strtol;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:77:12: error: ‘std::strtoul’ has not been declared
>  using std::strtoul;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:78:12: error: ‘std::system’ has not been declared
>  using std::system;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:80:12: error: ‘std::wcstombs’ has not been declared
>  using std::wcstombs;
>             ^
> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:81:12: error: ‘std::wctomb’ has not been declared
>  using std::wctomb;
>             ^
> make[2]: *** [Makefile:224: charset.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> --8<---------------cut here---------------end--------------->8---

Fixed in 7f6d3f395023ff430cf8b7a981d4780698e9d132, thanks!

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

      reply	other threads:[~2020-05-13 19:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-12 14:20 bug#41210: gcc-cross-sans-libc-arm-none-eabi-4.9.4-1.227977 fails to build Ricardo Wurmus
2020-05-13 19:14 ` Marius Bakke [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pnb7ve91.fsf@devup.no \
    --to=mbakke@fastmail.com \
    --cc=41210-done@debbugs.gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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