https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #42 from cqwrteur ---
And std::format shit is an absolute log4j vuln but wg21 wastes time on this
instead of fixing iostream.
LOL.
We see wg21 as a joke.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #41 from cqwrteur ---
(In reply to Jonathan Wakely from comment #38)
> (In reply to Nicolas Noble from comment #33)
> > At the moment, I don't understand if it's possible to spawn a cross compiler
> > with a freestanding libc and
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #40 from Jonathan Wakely ---
I opened Bug 103866 for this build error.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #39 from Jonathan Wakely ---
(In reply to Jonathan Wakely from comment #38)
> (In reply to Nicolas Noble from comment #33)
> > At the moment, I don't understand if it's possible to spawn a cross compiler
> > with a freestanding libc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
Jonathan Wakely changed:
What|Removed |Added
Resolution|--- |INVALID
Status|WAITING
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #37 from Jonathan Wakely ---
Oh shut up, you tedious clown. Cut the attacks and abuse or I'll block every
account you try to create here (as happens in every other venue where you try
to share your opinions by attacking people).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #36 from cqwrteur ---
(In reply to Nicolas Noble from comment #34)
> After some digging, I found out this in the acinclude.m4 file of the
> libstdc++-v3 folder:
>
> AC_DEFUN([GLIBCXX_ENABLE_HOSTED], [
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #35 from cqwrteur ---
(In reply to Nicolas Noble from comment #34)
> After some digging, I found out this in the acinclude.m4 file of the
> libstdc++-v3 folder:
>
> AC_DEFUN([GLIBCXX_ENABLE_HOSTED], [
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #34 from Nicolas Noble ---
After some digging, I found out this in the acinclude.m4 file of the
libstdc++-v3 folder:
AC_DEFUN([GLIBCXX_ENABLE_HOSTED], [
AC_ARG_ENABLE([hosted-libstdcxx],
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
Nicolas Noble changed:
What|Removed |Added
CC||pi...@nobis-crew.org
--- Comment #33
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #32 from cqwrteur ---
(In reply to cqwrteur from comment #31)
> (In reply to Jonathan Wakely from comment #30)
> > (In reply to cqwrteur from comment #29)
> > > I really want a fix to the script. Thank you !!!
> >
> > This is too
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #31 from cqwrteur ---
(In reply to Jonathan Wakely from comment #30)
> (In reply to cqwrteur from comment #29)
> > I really want a fix to the script. Thank you !!!
>
> This is too vague to do anything about.
>
> Be precise.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
Jonathan Wakely changed:
What|Removed |Added
Last reconfirmed||2021-08-23
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
cqwrteur changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
Resolution|INVALID
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
Jonathan Wakely changed:
What|Removed |Added
Resolution|--- |INVALID
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
cqwrteur changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
Resolution|INVALID
ysg>
From: redi at gcc dot gnu.org
Sent: Tuesday, April 13, 2021 5:24:53 AM
To: unlv...@live.com
Subject: [Bug libstdc++/100057] There are no freestanding C++
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgcc.gnu.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D100057data=04%7
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #25 from Jonathan Wakely ---
(In reply to Jonathan Wakely from comment #24)
> This is a regression, please report a separate bug about this part.
Reported as Bug 100060, fix already written (because when you report a clear,
focused
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #24 from Jonathan Wakely ---
(In reply to cqwrteur from comment #16)
> d:\cross_toolchains\x86_64-elf\x86_64-elf\include\c++\11.0.1\bit:37:10:
> fatal error: ext/numeric_traits.h: No such file or directory
>37 | #include
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
Jonathan Wakely changed:
What|Removed |Added
Resolution|--- |INVALID
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
cqwrteur changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
Resolution|INVALID
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
Richard Biener changed:
What|Removed |Added
Resolution|--- |INVALID
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #20 from cqwrteur ---
(In reply to cqwrteur from comment #19)
> (In reply to Richard Biener from comment #18)
> > So first of all --disable-hosted-libstdcxx doesn't work up to its standard?
> > But maybe it's just specifics for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #19 from cqwrteur ---
(In reply to Richard Biener from comment #18)
> So first of all --disable-hosted-libstdcxx doesn't work up to its standard?
> But maybe it's just specifics for x86_64-elf and other targets work fine
> here.
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
Richard Biener changed:
What|Removed |Added
Keywords||build
--- Comment #18 from Richard
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #17 from cqwrteur ---
(In reply to cqwrteur from comment #16)
> d:\cross_toolchains\x86_64-elf\x86_64-elf\include\c++\11.0.1\bit:37:10:
> fatal error: ext/numeric_traits.h: No such file or directory
>37 | #include
> |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #16 from cqwrteur ---
d:\cross_toolchains\x86_64-elf\x86_64-elf\include\c++\11.0.1\bit:37:10: fatal
error: ext/numeric_traits.h: No such file or directory
37 | #include
| ^~
compilation
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #15 from cqwrteur ---
Created attachment 50577
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50577=edit
my own stuff
i just removed all emergency heap, bad_alloc nonsense. it looks like memset is
not available.
my own issue
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #14 from cqwrteur ---
there is another stuff mentioned in osdev. we need to disable red zone. we need
redzone multilib
https://wiki.osdev.org/Libgcc_without_red_zone
I suggest to add this into gcc itself
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #13 from cqwrteur ---
../gcc/configure --disable-nls --disable-bootstrap --disable-hosted-libstdcxx
--disable-werror --with-newlib --target=x86_64-elf
--prefix=/home/cqwrteur/elf_toolchain/x86_64-elf --without-headers
--with-newlib
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #12 from cqwrteur ---
malloc, free, memset does not exist either.
Need to replace them with __builtin_malloc, __builtin_free, __builtin_memset if
that is available.
Then it is libquadmath's issue. no errno.h
In file included
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #11 from cqwrteur ---
if test x$gcc_no_link = xyes; then
as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES."
"$LINENO" 5
These tests are very wrong tbh. freestanding environment of course, does not
have those
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #10 from cqwrteur ---
I guess nobody ever tries to build freestanding before. It just does not work
tbh.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #9 from cqwrteur ---
looking for a compliant stdint.h in stdint.h, checking for uintmax_t... no
looking for a compliant stdint.h in inttypes.h, checking for uintmax_t... no
looking for a compliant stdint.h in sys/inttypes.h,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #8 from cqwrteur ---
Created attachment 50576
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50576=edit
Disable checking these macros with freestanding settings
We predefine them if they do not exist in Freestanding.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #7 from cqwrteur ---
I think the libstdc++'s scripting issue I can fix it.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #6 from JeanHeyd Meneide ---
Oh, woops, my bad. This is for configuring and building GCC. I'm not sure which
option turns on -ffreestanding for building the compiler itself! But it seems
like that's missing, if __STDC_HOSTED__ is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
JeanHeyd Meneide changed:
What|Removed |Added
CC||phdofthehouse at gmail dot com
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #4 from cqwrteur ---
Try that without --with-newlib.
checking how to hardcode library paths into programs... immediate
checking for shl_load... configure: error: Link tests are not allowed after
GCC_NO_EXECUTABLES.
make[1]: ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #3 from cqwrteur ---
Created attachment 50575
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50575=edit
The log file shows it does check stdio.h
conftest.c:10:10: fatal error: stdio.h: No such file or directory
10 |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #2 from cqwrteur ---
Then #if 0 the header.
checking for stdalign.h... no
checking for the value of EOF... configure: error: computing EOF failed
make[1]: *** [Makefile:13313: configure-target-libstdc++-v3] Error 1
make[1]: Leaving
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #1 from cqwrteur ---
The funny stuff is that __STDC_HOSTED__ should not be set as true. I guess GCC
incorrectly mark __STDC_HOSTED__ as 1 for C++, even we live in freestanding
environment.
#ifndef _GCC_WRAP_STDINT_H
#if
42 matches
Mail list logo