summaryrefslogtreecommitdiff
path: root/Packages.txt
diff options
context:
space:
mode:
authorabs <abs>2001-12-31 14:09:15 +0000
committerabs <abs>2001-12-31 14:09:15 +0000
commit20cba0cd9284f563085a19d4907f350b8fcfcf72 (patch)
tree2dc7759bef9f8cf0a07d730bcac0cc6c4aabd8bc /Packages.txt
parent27393fd5de232b04504247856839ad587da9c2f8 (diff)
downloadpkgsrc-20cba0cd9284f563085a19d4907f350b8fcfcf72.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
==========================