Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8623987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:24:53+00:00 2026-06-12T07:24:53+00:00

I have latest cygwin with g++ 4.5 installed, under windows xp. The compiler was

  • 0

I have latest cygwin with g++ 4.5 installed, under windows xp. The compiler was working well, but got broken somehow in the meantime (resetting env vars by rebooting?). I have a short test program (called cxx.cpp)

#include<iostream>
int main(void){
    for(int i=0; i<3; i++) std::cerr<<i<<std::endl;
}

and I run

$ g++ cxx.cpp   # no output, jsut exits
$ echo $?
1

Then trying

$ strace -ff g++-4 cxx.cpp
... lots of output ...
   18  151816 [main] g++-4 2804 build_env: env count 4, bytes 275
   37  151853 [main] g++-4 2804 build_env: envp 0x61274708, envc 47
  428  152281 [main] g++-4 2804 child_info::child_info: subproc_ready 0x6CC
 1399  153680 [main] g++-4 2804 child_info_spawn::worker: pid 2804, prog_arg /usr/lib/gcc/i686-pc-cygwin/4.5.3/cc1plus.exe, cmd line C:\cygwin\lib\gcc\i686-pc-cygwin\4.5.3\cc1plus.exe -quiet -D__CYGWIN32__ -D__CYGWIN__ -Dunix -D__unix__ -D__unix -idirafter /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api -idirafter /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/lib/../../include/w32api cxx.cpp -quiet -dumpbase cxx.cpp -mtune=generic -march=i686 -auxbase cxx -o /tmp/ccr4l3sS.s)
   28  153708 [main] g++-4 2804! child_info_spawn::worker: new process name \\?\C:\cygwin\lib\gcc\i686-pc-cygwin\4.5.3\cc1plus.exe
   19  153727 [main] g++-4 2804! child_info_spawn::worker: spawned windows pid 2816
   17  153744 [main] g++-4 2804! child_info::sync: n 2, waiting for subproc_ready(0x6CC) and child process(0x670)
--- Process 2816, exception C0000139 at 7C96671E
--- Process 2816, exception C0000139 at 7C96671E
 6683  160427 [main] g++-4 2804! child_info::sync: pid 2816, WFMO returned 1, exit_code 0xC0000139, res 0
  461  160888 [main] g++-4 2804! child_info::proc_retry: exit_code 0xC0000139

I see cc1plus has a trouble. I use what child_info_spawn::worker reveals to call myself

$ /lib/gcc/i686-pc-cygwin/4.5.3/cc1plus.exe -quiet -D__CYGWIN32__ -D__CYGWIN__ -Dunix -D__unix__ -D__unix -idir./../../include/w32api -idirafter /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/lib/../../includtune=generic -march=i686 -auxbase cxx -o /tmp/ccr4l3sS.s
$ echo $?
127

Any suggestion how to analyze what is going wrong? What should I check? I am fairly new to cygwin.

EDIT:
Running cc1plus under strace as

strace -ff /lib/gcc/i686-pc-cygwin/4.5.3/cc1plus.exe -quiet -D__CYGWIN32__ -D__CYGWIN__ -Dunix -D__unix__ -D__unix -idir./../../include/w32api -idirafter /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/lib/../../includtune=generic -march=i686 -auxbase cxx -o /tmp/ccr4l3sS.s

leads to a popup dialog saying “The procedure entry point __gxx_personality_v0 could not be located in the dynamic link library cygstdc++-6.dll”:

error dialgue screenshot

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T07:24:54+00:00Added an answer on June 12, 2026 at 7:24 am

    The problem with cygstdc++-6.dll lead me to think that previous hand-installation of gcc-4.7 with --program-suffix=-4.7 was the problem. Sure enough, according to http://gcc.gnu.org/faq.html#multiple, two versions of gcc cannot be installed in parallel even with different --program-suffix, as it only applies to programs, not libs, and a different --prefix must be used as well.

    According to http://cygwin.com/ml/cygwin/2010-03/msg00031.html, reinstalling a few base packages should fix the issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Windows XP, TortoiseGit (latest version) and Cygwin. I have git.exe installed and
I have the latest revision checked out to my working copy, but it's broken
I have installed the latest version of netbeans and its working.. I have opened
I have installed latest free version of zend studio and it got expired. I
I have a Windows 7 system on which I have installed the latest Java
I have Fedora (latest) installed as well as mingw32 and gtk packages. I wrote
Operating system: Windows XP SP3 (Unfortunately) I have downloaded and installed the latest version
I'm running Windows XP SP3 and I do have the latest .NET libraries installed,
I have the latest versions of Firefox and IE, but the example in html5rocks.com
I have install the latest Xcode but this keep occurring. How could I solve

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.