Skip to content

Commit 5f3d271

Browse files
committed
AIX: Stop adding option -qsrcmsg.
With xlc v16.1.0, it causes internal compiler errors. With xlc versions not exhibiting that bug, removing -qsrcmsg merely changes the compiler error reporting format. Back-patch to 9.4 (all supported versions). Discussion: https://postgr.es/m/20191003064105.GA3955242@rfd.leadboat.com
1 parent 20961ce commit 5f3d271

File tree

1 file changed

+6
-5
lines changed
  • src/template

1 file changed

+6
-5
lines changed

src/template/aix

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
# Set appropriate default compiler options if using xlc
2-
# Note: configure will add -qnoansialias if the compiler accepts it,
3-
# even if user specifies a non-default CFLAGS setting.
1+
# Set default options if using xlc. This formerly included -qsrcmsg, but that
2+
# option elicits internal compiler errors from xlc v16.1.0. Note: configure
3+
# will add -qnoansialias if the compiler accepts it, even if user specifies a
4+
# non-default CFLAGS setting.
45
if test "$GCC" != yes ; then
56
case $host_os in
67
aix3.2.5 | aix4.1*)
7-
CFLAGS="-O -qmaxmem=16384 -qsrcmsg"
8+
CFLAGS="-O -qmaxmem=16384"
89
;;
910
*)
10-
CFLAGS="-O2 -qmaxmem=16384 -qsrcmsg"
11+
CFLAGS="-O2 -qmaxmem=16384"
1112
;;
1213
esac
1314

0 commit comments

Comments
 (0)