public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/59623] New: Segmentation fault, cc1plus, relative path
@ 2013-12-29 17:12 millibit at gmail dot com
  2013-12-30 18:32 ` [Bug c++/59623] " millibit at gmail dot com
  2013-12-30 18:34 ` millibit at gmail dot com
  0 siblings, 2 replies; 3+ messages in thread
From: millibit at gmail dot com @ 2013-12-29 17:12 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59623
           Summary: Segmentation fault, cc1plus, relative path
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: millibit at gmail dot com

Created attachment 31537
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31537&action=edit
Source code and post-processed file.

Compiling C++ source fails when code in located in parent directory.

Command line:

$ g++ -O0 -g3 -Wall -Wextra -c -fmessage-length=0 -save-temps -o BinaryFile.o
"../BinaryFile.cpp"
g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.

Changing directory and compiling:
$ cd ..
$ g++ -O0 -g3 -Wall -Wextra -c -save-temps -o BinaryFile.o "BinaryFile.cpp"

... compiles without warnings, etc. Exact same code worked with previous
versions of gcc. 


OS/system is Windows 7, 64-bit, cygwin-64bit. Windows is fully updated.


$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-cygwin/4.8.2/lto-wrapper.exe
Target: x86_64-pc-cygwin
Configured with:
/cygdrive/i/szsz/tmpp/cygwin64/gcc/gcc-4.8.2-1/src/gcc-4.8.2/configure
--srcdir=/cygdrive/i/szsz/tmpp/cygwin64/gcc/gcc-4.8.2-1/src/gcc-4.8.2
--prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--libexecdir=/usr/libexec --datadir=/usr/share --localstatedir=/var
--sysconfdir=/etc --libdir=/usr/lib --datarootdir=/usr/share
--docdir=/usr/share/doc/gcc -C --build=x86_64-pc-cygwin --host=x86_64-pc-cygwin
--target=x86_64-pc-cygwin --without-libiconv-prefix --without-libintl-prefix
--enable-shared --enable-shared-libgcc --enable-static
--enable-version-specific-runtime-libs --enable-bootstrap
--disable-__cxa_atexit --with-dwarf2 --with-tune=generic
--enable-languages=c,c++,fortran,lto,objc,obj-c++ --enable-graphite
--enable-threads=posix --enable-libatomic --enable-libgomp --disable-libitm
--enable-libquadmath --enable-libquadmath-support --enable-libssp
--enable-libgcj-sublibs --disable-java-awt --disable-symvers
--with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as
--with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix
--without-libintl-prefix --with-system-zlib
Thread model: posix
gcc version 4.8.2 (GCC)


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

* [Bug c++/59623] Segmentation fault, cc1plus, relative path
  2013-12-29 17:12 [Bug c++/59623] New: Segmentation fault, cc1plus, relative path millibit at gmail dot com
@ 2013-12-30 18:32 ` millibit at gmail dot com
  2013-12-30 18:34 ` millibit at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: millibit at gmail dot com @ 2013-12-30 18:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Morten Kristiansen <millibit at gmail dot com> ---
Not a bug in GCC, after all. Caused by some mixup of cygwin dll's. Closing bug.


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

* [Bug c++/59623] Segmentation fault, cc1plus, relative path
  2013-12-29 17:12 [Bug c++/59623] New: Segmentation fault, cc1plus, relative path millibit at gmail dot com
  2013-12-30 18:32 ` [Bug c++/59623] " millibit at gmail dot com
@ 2013-12-30 18:34 ` millibit at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: millibit at gmail dot com @ 2013-12-30 18:34 UTC (permalink / raw)
  To: gcc-bugs

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

Morten Kristiansen <millibit at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Morten Kristiansen <millibit at gmail dot com> ---
Closing.


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

end of thread, other threads:[~2013-12-30 18:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-29 17:12 [Bug c++/59623] New: Segmentation fault, cc1plus, relative path millibit at gmail dot com
2013-12-30 18:32 ` [Bug c++/59623] " millibit at gmail dot com
2013-12-30 18:34 ` millibit at gmail dot com

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