关闭编译选项重新编辑posgreSQL即可。 export CFLAGS='-DGCC_HASCLASSVISIBILITY -O0 -Wall -W' ./configure --enable-debug