public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/18469] configure incorrectly defines gid_t
       [not found] <bug-18469-4@http.gcc.gnu.org/bugzilla/>
@ 2013-12-16 20:09 ` ktietz at gcc dot gnu.org
  2013-12-17 23:26 ` joseph at codesourcery dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: ktietz at gcc dot gnu.org @ 2013-12-16 20:09 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18469

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ktietz at gcc dot gnu.org

--- Comment #3 from Kai Tietz <ktietz at gcc dot gnu.org> ---
Issue still exists for ia64 and cygwin/mingw targets on 4.9.

The following files are including auto-host.h header:
- config/i386/cygming-crtbegin.c
- config/i386/cygming-crtend.c
- config/i386/cygming-crtend.c
- config/i386/cygwin.S
- config/ia64/crtbegin.S
- config/ia64/crtend.S
- crtstuff.c

In config/ia64/t-ia64-elf there is a tweak for finding this include-file.

The macros required in crtstuff.c are:
- HAVE_GAS_HIDDEN
- HAVE_LD_EH_FRAME_HDR

The cygwin/mingw part uses:
- DEFAULT_USE_CXA_ATEXIT
- HAVE_LD_RO_RW_SECTION_MIXING
- HAVE_GAS_WEAK
- HAVE_GAS_CFI_SECTIONS_DIRECTIVE

The macros required in ia64 are:
- HAVE_INITFINI_ARRAY_SUPPORT
- USE_GAS_SYMVER

So a lot of infrastructure of gcc needs to be ported to libgcc for detecting
and probs for ld vs. gold, and as.


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

* [Bug target/18469] configure incorrectly defines gid_t
       [not found] <bug-18469-4@http.gcc.gnu.org/bugzilla/>
  2013-12-16 20:09 ` [Bug target/18469] configure incorrectly defines gid_t ktietz at gcc dot gnu.org
@ 2013-12-17 23:26 ` joseph at codesourcery dot com
  2020-10-13  2:34 ` kargl at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: joseph at codesourcery dot com @ 2013-12-17 23:26 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18469

--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Mon, 16 Dec 2013, ktietz at gcc dot gnu.org wrote:

> The macros required in crtstuff.c are:
> - HAVE_GAS_HIDDEN
> - HAVE_LD_EH_FRAME_HDR

Various target macros used in target code as well as host code should, I 
suggest at <http://gcc.gnu.org/wiki/Top-Level_Libgcc_Migration>, be 
handled via the compiler predefining macros if -fbuilding-libgcc, with 
those predefines being used in target code instead of the macros from host 
tm.h.  (The exact list of host-side tm.h macros used in target code there 
may be out of date, but I expect it's still pretty close to what needs 
fixing to stop target code needing that host-side header.)

I suggest the same solution for configure-determined macros used by target 
code: predefine something if -fbuilding-libgcc, and use that predefine in 
target code.  That avoids duplicating the configure detection.

I definitely encourage cleaning things up in this area to improve the 
host/target separation in the build system.  I don't think any of the 
cases of target (or configure) macros used in target code are hard to fix; 
it just requires careful work on working out the right conversion for each 
of the many macros affected, making sure in every case that no files 
needing updating are missed out.


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

* [Bug target/18469] configure incorrectly defines gid_t
       [not found] <bug-18469-4@http.gcc.gnu.org/bugzilla/>
  2013-12-16 20:09 ` [Bug target/18469] configure incorrectly defines gid_t ktietz at gcc dot gnu.org
  2013-12-17 23:26 ` joseph at codesourcery dot com
@ 2020-10-13  2:34 ` kargl at gcc dot gnu.org
  2020-10-15 20:02 ` egallager at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: kargl at gcc dot gnu.org @ 2020-10-13  2:34 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18469
Bug 18469 depends on bug 21481, which changed state.

Bug 21481 Summary: crtstuff.c should not include auto-host.h
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21481

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

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

* [Bug target/18469] configure incorrectly defines gid_t
       [not found] <bug-18469-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2020-10-13  2:34 ` kargl at gcc dot gnu.org
@ 2020-10-15 20:02 ` egallager at gcc dot gnu.org
  2020-10-15 20:09 ` redi at gcc dot gnu.org
  2022-05-24 14:52 ` egallager at gcc dot gnu.org
  5 siblings, 0 replies; 9+ messages in thread
From: egallager at gcc dot gnu.org @ 2020-10-15 20:02 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org

--- Comment #5 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #2)
> depending on PR 21481 since that is the bug which is getting rid of the
> include of auto-host.h.

that got closed as WONTFIX...

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

* [Bug target/18469] configure incorrectly defines gid_t
       [not found] <bug-18469-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2020-10-15 20:02 ` egallager at gcc dot gnu.org
@ 2020-10-15 20:09 ` redi at gcc dot gnu.org
  2022-05-24 14:52 ` egallager at gcc dot gnu.org
  5 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2020-10-15 20:09 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The sparc-sun-solaris2.8 target is no logner supported. Is this an issue on
supported versions of Solaris?

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

* [Bug target/18469] configure incorrectly defines gid_t
       [not found] <bug-18469-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2020-10-15 20:09 ` redi at gcc dot gnu.org
@ 2022-05-24 14:52 ` egallager at gcc dot gnu.org
  5 siblings, 0 replies; 9+ messages in thread
From: egallager at gcc dot gnu.org @ 2022-05-24 14:52 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Gallager <egallager at gcc dot gnu.org> changed:

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

--- Comment #7 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #6)
> The sparc-sun-solaris2.8 target is no logner supported. Is this an issue on
> supported versions of Solaris?

Hm, no reply, so, I'm guessing it isn't, and thus closing this.

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

* [Bug target/18469] configure incorrectly defines gid_t
  2004-11-13 21:01 [Bug target/18469] New: " aaronavay62 at aaronwl dot com
  2004-11-13 21:06 ` [Bug target/18469] " pinskia at gcc dot gnu dot org
  2005-02-10 20:53 ` ebotcazou at gcc dot gnu dot org
@ 2005-05-12  2:11 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-12  2:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-12 02:10 -------
depending on PR 21481 since that is the bug which is getting rid of the include of auto-host.h.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |21481
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
Bug 18469 depends on bug 21481, which changed state.

Bug 21481 Summary: [4.1 Regression] Bootstrap is broken of FreeBSD by changes to crtstuff.c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21481

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
             Status|NEW                         |ASSIGNED
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |Bug 18469 depends on bug 21481, which changed state.

Bug 21481 Summary: [4.1 Regression] Bootstrap is broken of FreeBSD by changes to crtstuff.c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21481

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
             Status|NEW                         |ASSIGNED
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18469


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

* [Bug target/18469] configure incorrectly defines gid_t
  2004-11-13 21:01 [Bug target/18469] New: " aaronavay62 at aaronwl dot com
  2004-11-13 21:06 ` [Bug target/18469] " pinskia at gcc dot gnu dot org
@ 2005-02-10 20:53 ` ebotcazou at gcc dot gnu dot org
  2005-05-12  2:11 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-02-10 20:53 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18469


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

* [Bug target/18469] configure incorrectly defines gid_t
  2004-11-13 21:01 [Bug target/18469] New: " aaronavay62 at aaronwl dot com
@ 2004-11-13 21:06 ` pinskia at gcc dot gnu dot org
  2005-02-10 20:53 ` ebotcazou at gcc dot gnu dot org
  2005-05-12  2:11 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-13 21:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-13 21:06 -------
auto-host.h should not be included in crtstuff.c at all.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18469


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

end of thread, other threads:[~2022-05-24 14:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-18469-4@http.gcc.gnu.org/bugzilla/>
2013-12-16 20:09 ` [Bug target/18469] configure incorrectly defines gid_t ktietz at gcc dot gnu.org
2013-12-17 23:26 ` joseph at codesourcery dot com
2020-10-13  2:34 ` kargl at gcc dot gnu.org
2020-10-15 20:02 ` egallager at gcc dot gnu.org
2020-10-15 20:09 ` redi at gcc dot gnu.org
2022-05-24 14:52 ` egallager at gcc dot gnu.org
2004-11-13 21:01 [Bug target/18469] New: " aaronavay62 at aaronwl dot com
2004-11-13 21:06 ` [Bug target/18469] " pinskia at gcc dot gnu dot org
2005-02-10 20:53 ` ebotcazou at gcc dot gnu dot org
2005-05-12  2:11 ` pinskia at gcc dot gnu dot 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).