Date: Tue, 10 Aug 2004 23:27:12 +0200 From: "Terrence Koeman" <root@mediamonks.net> To: "'Doug White'" <dwhite@gumbysoft.com> Cc: freebsd-current@freebsd.org Subject: RE: Compiler segmentation fault in 5-08 -CURRENT Message-ID: <200408102328524.SM01804@manrikigusari> In-Reply-To: <200408102035823.SM01804@manrikigusari>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_0074_01C47F31.90554950 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit > -----Original Message----- > From: owner-freebsd-current@freebsd.org > [mailto:owner-freebsd-current@freebsd.org] On Behalf Of > Terrence Koeman > > -----Original Message----- > > From: owner-freebsd-current@freebsd.org > > [mailto:owner-freebsd-current@freebsd.org] On Behalf Of Doug White > > > > On Tue, 10 Aug 2004, Terrence Koeman wrote: > > > > > > Can you compile a simple "hello world" program? Sometimes > > > > these types of > > > > faults can be caused by faulty memory, processor, > overclocking, or > > > > temperature issues. > > > > > > It doesn't seem hardware related. Before the update I had > > no problems with > > > segmentation faults, and the system can take heavy load just fine. > > > > > > I tried to compile the following hello world program: > > [...] > > > helloworld.c:4: internal compiler error: Segmentation fault > > > > Ugh. Looks like your gcc binary's busted. > > > > > Is there perhaps a way to copy over the compiler from a > > working (older) > > > -CURRENT system and build a new world with it to see if > > it's fixed in cvs? > > > > You might try tracking down a recent snapshot and do an > > 'upgrade'; that > > should overwrite your defective binary. > > > > This problem is unique to you so you may have had a disk error or > > something that's zeroed out part of the gcc binary or cc1 > or something > > important like that. > > I have copied over /usr/bin/* from another working system and > now I can > compile things again. > > Is there anything that could create new problems when doing this? > Well, it seems to be fixed now. As I said I copied over the /usr/bin dir from another system and build world with it. It gave a shitload of warnings I've never seen, but it proceeded anyway. Thanks for your help, I didn't think of a corrupted binary. -- Regards, Terrence Koeman MediaMonks B.V. (www.mediamonks.com) Please quote all replies in correspondence. ------=_NextPart_000_0074_01C47F31.90554950 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKUzCCAj0w ggGmAhEAzbp/VvDf5LxU/iKss3KqVTANBgkqhkiG9w0BAQIFADBfMQswCQYDVQQGEwJVUzEXMBUG A1UEChMOVmVyaVNpZ24sIEluYy4xNzA1BgNVBAsTLkNsYXNzIDEgUHVibGljIFByaW1hcnkgQ2Vy dGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNOTYwMTI5MDAwMDAwWhcNMjgwODAxMjM1OTU5WjBfMQsw CQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xNzA1BgNVBAsTLkNsYXNzIDEgUHVi bGljIFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwgZ8wDQYJKoZIhvcNAQEBBQADgY0A MIGJAoGBAOUZv22jVmEtmUhx9mfeuY3rt56GgAqRDvo4Ja9GiILlc6igmyRdDR/MZW4MsNBWhBiH mgabEKFz37RYOWtuwfYV1aioP6oSBo0xrH+wNNePNGeICc0UEeJORVZpH3gCgNrcR5EpuzbJY1zF 4Ncth3uhtzKwezC6Ki8xqu6jZ9rbAgMBAAEwDQYJKoZIhvcNAQECBQADgYEATD+4i8Zo3+5DMw5d 6abLB4RNejP/khv0Nq3YlSI2aBFsfELM85wuxAc/FLAPT/+Qknb54rxK6Y/NoIAK98Up8YIiXbix 3YEjo3slFUYweRb46gVLlH8dwhzI47f0EEA8E8NfH1PoSOSGtHuhNbB7Jbq4046rPzidADQAmPPR cZQwggNmMIICz6ADAgECAhANi0/uqtIYW/R1ap0p4X/7MA0GCSqGSIb3DQEBAgUAMF8xCzAJBgNV BAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE3MDUGA1UECxMuQ2xhc3MgMSBQdWJsaWMg UHJpbWFyeSBDZXJ0aWZpY2F0aW9uIEF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qGSIb3DQIFMIHyBgkrBgEEAYI3EAQxgeQwgeEwgcwxFzAVBgNVBAoTDlZlcmlTaWduLCBJ bmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMUYwRAYDVQQLEz13d3cudmVyaXNp Z24uY29tL3JlcG9zaXRvcnkvUlBBIEluY29ycC4gQnkgUmVmLixMSUFCLkxURChjKTk4MUgwRgYD VQQDEz9WZXJpU2lnbiBDbGFzcyAxIENBIEluZGl2aWR1YWwgU3Vic2NyaWJlci1QZXJzb25hIE5v dCBWYWxpZGF0ZWQCEGcehCeKB0pkKHBrRKaIMz8wgfQGCyqGSIb3DQEJEAILMYHkoIHhMIHMMRcw FQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazFG MEQGA1UECxM9d3d3LnZlcmlzaWduLmNvbS9yZXBvc2l0b3J5L1JQQSBJbmNvcnAuIEJ5IFJlZi4s TElBQi5MVEQoYyk5ODFIMEYGA1UEAxM/VmVyaVNpZ24gQ2xhc3MgMSBDQSBJbmRpdmlkdWFsIFN1 YnNjcmliZXItUGVyc29uYSBOb3QgVmFsaWRhdGVkAhBnHoQnigdKZChwa0SmiDM/MA0GCSqGSIb3 DQEBAQUABIGARY5zdIOvTqPRDjb5cSS0SUI7p0Bn4ttCgTx+VFut8/fVxwteBZj/ezyRFXqje6S/ 6p/FocRpqzNVVbHvUrSAZZ9c7EWO1qRb6wm7tAoynah9OxR+KP522HgTo+WRHMuUEgKWyvH9x9vf 687k2FXaQCYNwtVorUPeYxcVBffny8MAAAAAAAA= ------=_NextPart_000_0074_01C47F31.90554950--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408102328524.SM01804>