public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/58238] New: cc1 crashes when built for ms-dos cross-compiling
@ 2013-08-24 15:37 mikulas at artax dot karlin.mff.cuni.cz
2013-08-26 22:03 ` [Bug other/58238] " dj at redhat dot com
2021-08-24 16:22 ` pinskia at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: mikulas at artax dot karlin.mff.cuni.cz @ 2013-08-24 15:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58238
Bug ID: 58238
Summary: cc1 crashes when built for ms-dos cross-compiling
Product: gcc
Version: 4.7.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: mikulas at artax dot karlin.mff.cuni.cz
Host: x86_64-unknown-linux-gnu
Target: i586-pc-msdosdjgpp
Build: x86_64-unknown-linux-gnu
Configure gcc-4.7.3 with these options:
../gcc-4.7.3/configure \
--prefix=/usr/local/gcc-4.7.3/ \
--enable-languages=c \
--target=i586-pc-msdosdjgpp
Run make.
You get a gcc/cc1 executable that always crashes.
If you look at i586-pc-msdosdjgpp/libgcc/config.log, there is:
configure:3584: /usr/src/gcc-4.7.3-build/./gcc/xgcc
-B/usr/src/gcc-4.7.3-build/.
/gcc/ -B/usr/local/gcc-4.7.3/i586-pc-msdosdjgpp/bin/
-B/usr/local/gcc-4.7.3/i586
-pc-msdosdjgpp/lib/ -isystem /usr/local/gcc-4.7.3/i586-pc-msdosdjgpp/include
-is
ystem /usr/local/gcc-4.7.3/i586-pc-msdosdjgpp/sys-include -c -g -O2
conftest
.c >&5
<built-in>:0:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:3588: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug other/58238] cc1 crashes when built for ms-dos cross-compiling
2013-08-24 15:37 [Bug other/58238] New: cc1 crashes when built for ms-dos cross-compiling mikulas at artax dot karlin.mff.cuni.cz
@ 2013-08-26 22:03 ` dj at redhat dot com
2021-08-24 16:22 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: dj at redhat dot com @ 2013-08-26 22:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58238
--- Comment #2 from DJ Delorie <dj at redhat dot com> ---
Please try the attached patch. I tested it with a simple "#include stdint.h"
but we made the type names exact matches (way back when) for a reason...
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug other/58238] cc1 crashes when built for ms-dos cross-compiling
2013-08-24 15:37 [Bug other/58238] New: cc1 crashes when built for ms-dos cross-compiling mikulas at artax dot karlin.mff.cuni.cz
2013-08-26 22:03 ` [Bug other/58238] " dj at redhat dot com
@ 2021-08-24 16:22 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-24 16:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58238
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
Target Milestone|--- |6.0
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Similar patch applied for GCC6 in r6-5884.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-08-24 16:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-24 15:37 [Bug other/58238] New: cc1 crashes when built for ms-dos cross-compiling mikulas at artax dot karlin.mff.cuni.cz
2013-08-26 22:03 ` [Bug other/58238] " dj at redhat dot com
2021-08-24 16:22 ` 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).