[Bug target/42818] Static C++ linking breakage "undefined reference to ___real__Znwj" and others in libcygwin.a(_cygwin_crt0_common.o)

2024-03-17 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42818 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug target/42818] Static C++ linking breakage "undefined reference to ___real__Znwj" and others in libcygwin.a(_cygwin_crt0_common.o)

2024-03-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42818 Bug 42818 depends on bug 41596, which changed state. Bug 41596 Summary: handling of library-related options by g++spec.c causes a failure when generating pch. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41596 What|Removed

[Bug target/42818] Static C++ linking breakage undefined reference to ___real__Znwj and others in libcygwin.a(_cygwin_crt0_common.o)

2012-01-12 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42818 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Target Milestone|4.5.3 |---

[Bug target/42818] Static C++ linking breakage undefined reference to ___real__Znwj and others in libcygwin.a(_cygwin_crt0_common.o)

2010-12-16 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42818 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|4.5.2 |4.5.3 ---

[Bug target/42818] Static C++ linking breakage undefined reference to ___real__Znwj and others in libcygwin.a(_cygwin_crt0_common.o)

2010-07-31 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-07-31 09:29 --- GCC 4.5.1 is being released, adjusting target milestone. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/42818] Static C++ linking breakage undefined reference to ___real__Znwj and others in libcygwin.a(_cygwin_crt0_common.o)

2010-04-06 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-04-06 11:20 --- GCC 4.5.0 is being released. Deferring to 4.5.1. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/42818] Static C++ linking breakage undefined reference to ___real__Znwj and others in libcygwin.a(_cygwin_crt0_common.o)

2010-01-20 Thread davek at gcc dot gnu dot org
--- Comment #1 from davek at gcc dot gnu dot org 2010-01-21 03:20 --- Test results: clean h...@155967, default test configuration using shared C++ linking: http://gcc.gnu.org/ml/gcc-testresults/2010-01/msg01628.html clean h...@155967, tested using static C++ linking:

[Bug target/42818] Static C++ linking breakage undefined reference to ___real__Znwj and others in libcygwin.a(_cygwin_crt0_common.o)

2010-01-20 Thread davek at gcc dot gnu dot org
--- Comment #2 from davek at gcc dot gnu dot org 2010-01-21 03:57 --- Here's what's going on: - To implement operator new/delete replacement, we use ld and --wrap to redirect all references to the operator functions into redirection stubs in the cygwin dll. - Each DLL or executable

[Bug target/42818] Static C++ linking breakage undefined reference to ___real__Znwj and others in libcygwin.a(_cygwin_crt0_common.o)

2010-01-20 Thread davek at gcc dot gnu dot org
--- Comment #3 from davek at gcc dot gnu dot org 2010-01-21 04:00 --- Created an attachment (id=19670) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19670action=view) Simple stage-3-safe fix This is the simple fix that is safe for stage 3. By trivially tweaking the specs, we

[Bug target/42818] Static C++ linking breakage undefined reference to ___real__Znwj and others in libcygwin.a(_cygwin_crt0_common.o)

2010-01-20 Thread davek at gcc dot gnu dot org
--- Comment #4 from davek at gcc dot gnu dot org 2010-01-21 04:56 --- Subject: Bug 42818 Author: davek Date: Thu Jan 21 04:56:38 2010 New Revision: 156105 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156105 Log: PR target/42818 * config/i386/cygwin.h

[Bug target/42818] Static C++ linking breakage undefined reference to ___real__Znwj and others in libcygwin.a(_cygwin_crt0_common.o)

2010-01-20 Thread davek at gcc dot gnu dot org
--- Comment #5 from davek at gcc dot gnu dot org 2010-01-21 05:00 --- Fixed for 4.5.0, so setting milestone. Then I'll add a comment about the full fix and suspend it. BZ maintainers, apologies if this is the wrong thing to do; should I close it and reopen it? I'm not sure, whatever

[Bug target/42818] Static C++ linking breakage undefined reference to ___real__Znwj and others in libcygwin.a(_cygwin_crt0_common.o)

2010-01-20 Thread davek at gcc dot gnu dot org
--- Comment #6 from davek at gcc dot gnu dot org 2010-01-21 05:00 --- So, the optimal solution would be to avoid using the redirection wrappers when we're statically linking. That's still possible: those undefined references without relocs don't cause problems in and of themselves, but