forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit41a2b56
committed
PL/Tcl: Don't link with -lc explicitly
It has been reported that PL/Tcl built on macOS with GCC >=11 crashes.The reason is that there is a hash_search() function in the operatingsystem's libraries, and that ends up being called instead of the onein postgres. This has something to do with how the linker resolvesreferences between the various possibilities it has been given, andsomehow something changed that it is now picking that one in thisconfiguration.We found that removing the -lc from the link command line fixes thisproblem. The -lc was introduced a long time ago in commite390967, and we think the reasonsmight be obsolete, so we decided that we'll try to just remove it andsee if any problems arise.Discussion:https://www.postgresql.org/message-id/flat/a78c847a-4f79-9286-be99-e819e9e4139e%40enterprisedb.com1 parentac0e2d3 commit41a2b56
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
|
0 commit comments
Comments
(0)