summaryrefslogtreecommitdiff
path: root/Packages.txt
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2001-12-31 14:09:15 +0000
committerabs <abs@pkgsrc.org>2001-12-31 14:09:15 +0000
commit0e280055c2905424deb0389a18498e9c2c10b2db (patch)
tree2dc7759bef9f8cf0a07d730bcac0cc6c4aabd8bc /Packages.txt
parenta2dd9aca88409e2ae16ac3c89f32f0bd0c3220b9 (diff)
downloadpkgsrc-0e280055c2905424deb0389a18498e9c2c10b2db.tar.gz
add 10.22 How to handle compiler bugs
Diffstat (limited to 'Packages.txt')
-rw-r--r--Packages.txt16
1 files changed, 15 insertions, 1 deletions
diff --git a/Packages.txt b/Packages.txt
index 89ad5132978..33592b7d059 100644
--- a/Packages.txt
+++ b/Packages.txt
@@ -1,4 +1,4 @@
-# $NetBSD: Packages.txt,v 1.222 2001/12/26 15:06:35 mason Exp $
+# $NetBSD: Packages.txt,v 1.223 2001/12/31 14:09:15 abs Exp $
###########################################################################
==========================
@@ -2144,6 +2144,20 @@ created at pre-install time, and the admin will be prompted to remove them at
post-deinstall time.
+ 10.22 How to handle compiler bugs
+ =================================
+
+Some source files trigger bugs in the compiler, based on combinations
+of compiler version and architecture and almost always relation to
+optimsation being enabled. Common symptoms are gcc internal errors
+or never finishing compiling a file.
+
+Typically a workaround involves testing the MACHINE_ARCH and compiler
+version, disabling optimisation for that file/MACHINE_ARCH/compiler
+combination, and documenting it in doc/HACKS. See doc/HACKS for
+examples.
+
+
11 Submitting & Committing
==========================