public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/102550] New: libssp cannot find size_t. they do not include stddef.h
@ 2021-10-01  5:21 unlvsur at live dot com
  2021-10-01  5:29 ` [Bug other/102550] " unlvsur at live dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: unlvsur at live dot com @ 2021-10-01  5:21 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102550

            Bug ID: 102550
           Summary: libssp cannot find size_t. they do not include
                    stddef.h
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live dot com
  Target Milestone: ---

Created attachment 51526
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51526&action=edit
error log

stddef.h is missing. do not know what's wrong with the build script of libssp

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

* [Bug other/102550] libssp cannot find size_t. they do not include stddef.h
  2021-10-01  5:21 [Bug other/102550] New: libssp cannot find size_t. they do not include stddef.h unlvsur at live dot com
@ 2021-10-01  5:29 ` unlvsur at live dot com
  2021-10-01  5:50 ` pinskia at gcc dot gnu.org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: unlvsur at live dot com @ 2021-10-01  5:29 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102550

--- Comment #1 from cqwrteur <unlvsur at live dot com> ---
libc is newlib-cygwin

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

* [Bug other/102550] libssp cannot find size_t. they do not include stddef.h
  2021-10-01  5:21 [Bug other/102550] New: libssp cannot find size_t. they do not include stddef.h unlvsur at live dot com
  2021-10-01  5:29 ` [Bug other/102550] " unlvsur at live dot com
@ 2021-10-01  5:50 ` pinskia at gcc dot gnu.org
  2021-10-01  5:52 ` unlvsur at live dot com
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-10-01  5:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102550

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2021-10-01
     Ever confirmed|0                           |1
           Keywords|                            |build

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
How did you configure and invoke make?
Was newlib installed already or you building a combined tree?

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

* [Bug other/102550] libssp cannot find size_t. they do not include stddef.h
  2021-10-01  5:21 [Bug other/102550] New: libssp cannot find size_t. they do not include stddef.h unlvsur at live dot com
  2021-10-01  5:29 ` [Bug other/102550] " unlvsur at live dot com
  2021-10-01  5:50 ` pinskia at gcc dot gnu.org
@ 2021-10-01  5:52 ` unlvsur at live dot com
  2021-10-01  5:53 ` unlvsur at live dot com
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: unlvsur at live dot com @ 2021-10-01  5:52 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102550

--- Comment #3 from cqwrteur <unlvsur at live dot com> ---
Created attachment 51527
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51527&action=edit
config file

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

* [Bug other/102550] libssp cannot find size_t. they do not include stddef.h
  2021-10-01  5:21 [Bug other/102550] New: libssp cannot find size_t. they do not include stddef.h unlvsur at live dot com
                   ` (2 preceding siblings ...)
  2021-10-01  5:52 ` unlvsur at live dot com
@ 2021-10-01  5:53 ` unlvsur at live dot com
  2021-10-01  6:03 ` pinskia at gcc dot gnu.org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: unlvsur at live dot com @ 2021-10-01  5:53 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102550

--- Comment #4 from cqwrteur <unlvsur at live dot com> ---
(In reply to Andrew Pinski from comment #2)
> How did you configure and invoke make?
> Was newlib installed already or you building a combined tree?

of course it is installed. no it is completely separate. Even libstdc++ was
successfully built.

if I remembered correctly I saw that issue months ago with picolibc too.

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

* [Bug other/102550] libssp cannot find size_t. they do not include stddef.h
  2021-10-01  5:21 [Bug other/102550] New: libssp cannot find size_t. they do not include stddef.h unlvsur at live dot com
                   ` (3 preceding siblings ...)
  2021-10-01  5:53 ` unlvsur at live dot com
@ 2021-10-01  6:03 ` pinskia at gcc dot gnu.org
  2021-10-01  6:05 ` unlvsur at live dot com
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-10-01  6:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102550

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Can you attach the config.log from the libssp directory?

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

* [Bug other/102550] libssp cannot find size_t. they do not include stddef.h
  2021-10-01  5:21 [Bug other/102550] New: libssp cannot find size_t. they do not include stddef.h unlvsur at live dot com
                   ` (4 preceding siblings ...)
  2021-10-01  6:03 ` pinskia at gcc dot gnu.org
@ 2021-10-01  6:05 ` unlvsur at live dot com
  2021-10-01  6:12 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: unlvsur at live dot com @ 2021-10-01  6:05 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102550

--- Comment #6 from cqwrteur <unlvsur at live dot com> ---
Created attachment 51528
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51528&action=edit
libssp configs

configs

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

* [Bug other/102550] libssp cannot find size_t. they do not include stddef.h
  2021-10-01  5:21 [Bug other/102550] New: libssp cannot find size_t. they do not include stddef.h unlvsur at live dot com
                   ` (5 preceding siblings ...)
  2021-10-01  6:05 ` unlvsur at live dot com
@ 2021-10-01  6:12 ` pinskia at gcc dot gnu.org
  2021-10-01  6:41 ` unlvsur at live dot com
  2022-11-30  5:02 ` pinskia at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-10-01  6:12 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102550

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
configure:3409: /home/cqwrteur/myhome/arm_build/cross/gcc/./gcc/xgcc
-B/home/cqwrteur/myhome/arm_build/cross/gcc/./gcc/
-B/home/cqwrteur/cross/arm-none-eabi/arm-none-eabi/bin/
-B/home/cqwrteur/cross/arm-none-eabi/arm-none-eabi/lib/ -isystem
/home/cqwrteur/cross/arm-none-eabi/arm-none-eabi/include -isystem
/home/cqwrteur/cross/arm-none-eabi/arm-none-eabi/sys-include    -o conftest -g
-O2   conftest.c  >&5
conftest.c:11:10: fatal error: stdio.h: No such file or directory
   11 | #include <stdio.h>
      |          ^~~~~~~~~

Well the newly build compiler is not finding the headers.

This looks wrong:
-isystem /home/cqwrteur/cross/arm-none-eabi/arm-none-eabi/include

How did you config/build newlib? and is the directory
"/home/cqwrteur/cross/arm-none-eabi/arm-none-eabi/include" or
"/home/cqwrteur/cross/arm-none-eabi/include"

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

* [Bug other/102550] libssp cannot find size_t. they do not include stddef.h
  2021-10-01  5:21 [Bug other/102550] New: libssp cannot find size_t. they do not include stddef.h unlvsur at live dot com
                   ` (6 preceding siblings ...)
  2021-10-01  6:12 ` pinskia at gcc dot gnu.org
@ 2021-10-01  6:41 ` unlvsur at live dot com
  2022-11-30  5:02 ` pinskia at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: unlvsur at live dot com @ 2021-10-01  6:41 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102550

--- Comment #8 from cqwrteur <unlvsur at live dot com> ---
arm/arm

Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: pinskia at gcc dot gnu.org <gcc-bugzilla@gcc.gnu.org>
Sent: Friday, October 1, 2021 2:12:28 AM
To: unlvsur@live.com <unlvsur@live.com>
Subject: [Bug other/102550] libssp cannot find size_t. they do not include
stddef.h

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgcc.gnu.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D102550&amp;data=04%7C01%7C%7Cc0f0d6306be849f87f0f08d984a272c0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637686655521708926%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=OoJExyZ2%2BKftCJf3JlWzH4gop15tPeFac7vc3MLpxJ4%3D&amp;reserved=0

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
configure:3409: /home/cqwrteur/myhome/arm_build/cross/gcc/./gcc/xgcc
-B/home/cqwrteur/myhome/arm_build/cross/gcc/./gcc/
-B/home/cqwrteur/cross/arm-none-eabi/arm-none-eabi/bin/
-B/home/cqwrteur/cross/arm-none-eabi/arm-none-eabi/lib/ -isystem
/home/cqwrteur/cross/arm-none-eabi/arm-none-eabi/include -isystem
/home/cqwrteur/cross/arm-none-eabi/arm-none-eabi/sys-include    -o conftest -g
-O2   conftest.c  >&5
conftest.c:11:10: fatal error: stdio.h: No such file or directory
   11 | #include <stdio.h>
      |          ^~~~~~~~~

Well the newly build compiler is not finding the headers.

This looks wrong:
-isystem /home/cqwrteur/cross/arm-none-eabi/arm-none-eabi/include

How did you config/build newlib? and is the directory
"/home/cqwrteur/cross/arm-none-eabi/arm-none-eabi/include" or
"/home/cqwrteur/cross/arm-none-eabi/include"

--
You are receiving this mail because:
You reported the bug.
You are on the CC list for the bug.

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

* [Bug other/102550] libssp cannot find size_t. they do not include stddef.h
  2021-10-01  5:21 [Bug other/102550] New: libssp cannot find size_t. they do not include stddef.h unlvsur at live dot com
                   ` (7 preceding siblings ...)
  2021-10-01  6:41 ` unlvsur at live dot com
@ 2022-11-30  5:02 ` pinskia at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-11-30  5:02 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102550

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Never supplied full configure line for either GCC nor newlib in over a year so
closing.

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

end of thread, other threads:[~2022-11-30  5:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01  5:21 [Bug other/102550] New: libssp cannot find size_t. they do not include stddef.h unlvsur at live dot com
2021-10-01  5:29 ` [Bug other/102550] " unlvsur at live dot com
2021-10-01  5:50 ` pinskia at gcc dot gnu.org
2021-10-01  5:52 ` unlvsur at live dot com
2021-10-01  5:53 ` unlvsur at live dot com
2021-10-01  6:03 ` pinskia at gcc dot gnu.org
2021-10-01  6:05 ` unlvsur at live dot com
2021-10-01  6:12 ` pinskia at gcc dot gnu.org
2021-10-01  6:41 ` unlvsur at live dot com
2022-11-30  5:02 ` pinskia at gcc dot gnu.org

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