Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Thread Tools Display Modes
Old 10th October 2008
mdh's Avatar
mdh mdh is offline
Real Name: Matt D. Harris
FreeBSD 2.2.6 User
Join Date: Oct 2008
Location: West Virginia
Posts: 139

Anyways, we've gotten off track. I'd still like to try to debug the filesystem issue if possible, especially since it sounds a lot like a problem that whooped my own butt.
Reply With Quote
Old 10th October 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
Join Date: May 2008
Location: USofA
Posts: 1,546

Originally Posted by phoenix View Post
Those who muck with CFLAGS and COPTFLAGS be playing with dragons. Best to tread lightly, and carry a big stick.
listen to the man

-O or -O2 -fno-strict-aliasing are the only supported flags according to the documentation.

Unless you know exactly what you are doing, have read the compiler documentation, and are familiar with the code you will be compiling with them, do not screw with pre-set compiler options and expect things to work properly.
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.

Last edited by TerryP; 10th October 2008 at 06:59 PM.
Reply With Quote
Old 11th October 2008
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366

Let's just make this clear:

The problem was caused by incorrect COPTFLAGS. It built a broken world, which will crash when certain functions are run. As it happened, the first thing you noticed was portsnap.

Remove COPTFLAGS and CFLAGS from your make.conf and rebuild your world. For safety, rebuild any ports you have compiled as well.

To repeat: your problem is your COPTFLAGS setting.
The only dumb question is a question not asked.
The only dumb answer is an answer not given.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cleaning Portsnap files in /var/db/portsnap/files bram85 FreeBSD Ports and Packages 2 5th October 2009 09:54 AM
problem to first reboot after installation openbsd OpenBSD Installation and Upgrading 3 16th May 2009 06:30 PM
Problem with PORTSNAP and my router cedcot FreeBSD Ports and Packages 2 22nd April 2009 11:32 AM
Reboot loop on 7.0 upgraded to 7.1 EricM FreeBSD Installation and Upgrading 3 25th March 2009 04:25 AM
Instant reboot with 7.0-RELEASE davidgurvich FreeBSD Installation and Upgrading 5 4th June 2008 08:15 PM

All times are GMT. The time now is 09:36 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick