Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4718326

Browse files
committed
Doc: remove obsolete advice about manually inserting snprintf into build.
This para is obsolete, first because nobody is using Solaris 7 anymore,and second because if someone was, configure should catch the snprintfbuffer overrun problem automatically (since commit9bed827), and thirdbecause this is incorrect advice about how to manually force use ofsnprintf.c anyway, and has been so at least since commit3bc6bdf.The lack of complaints about it reinforces the conclusion that Solaris 7no longer exists in the wild; so I don't feel a need to insert correctadvice instead.
1 parent6771c93 commit4718326

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

‎doc/src/sgml/installation.sgml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2636,30 +2636,6 @@ configure ... LDFLAGS="-R /usr/sfw/lib:/opt/sfw/lib:/usr/local/lib"
26362636
</para>
26372637
</sect3>
26382638

2639-
<sect3>
2640-
<title>64-bit Build Sometimes Crashes</title>
2641-
2642-
<para>
2643-
On Solaris 7 and older, the 64-bit version of libc has a buggy
2644-
<function>vsnprintf</function> routine, which leads to erratic
2645-
core dumps in PostgreSQL. The simplest known workaround is to
2646-
force PostgreSQL to use its own version of <function>vsnprintf</function> rather than
2647-
the library copy. To do this, after you
2648-
run <command>configure</command> edit a file produced by
2649-
<command>configure</command>:
2650-
In <filename>src/Makefile.global</filename>, change the line
2651-
<programlisting>
2652-
LIBOBJS =
2653-
</programlisting>
2654-
to read
2655-
<programlisting>
2656-
LIBOBJS = snprintf.o
2657-
</programlisting>
2658-
(There might be other files already listed in this variable.
2659-
Order does not matter.) Then build as usual.
2660-
</para>
2661-
</sect3>
2662-
26632639
<sect3>
26642640
<title>Compiling for Optimal Performance</title>
26652641

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp