BUG #15190: Build configure should have option to disableclock_gettime on MacOS 10.12 and up.
От | PG Bug reporting form |
---|---|
Тема | BUG #15190: Build configure should have option to disableclock_gettime on MacOS 10.12 and up. |
Дата | |
Msg-id | 152580213729.9462.11653978086488556681@wrigleys.postgresql.org обсуждение исходный текст |
Ответы |
Re: BUG #15190: Build configure should have option to disable clock_gettime on MacOS 10.12 and up.
|
Список | pgsql-bugs |
The following bug has been logged on the website: Bug reference: 15190 Logged by: Marc Van Olmen Email address: marcvanolmen@gmail.com PostgreSQL version: 10.3 Operating system: MacOS 10.13 Description: Steps to reproduce issue. 1. Use MacOS 10.12 or higher. I tested MacOS 10.13 because for latest Xcode 9.3 this is the minimal system. 2. Run the standard configure command and make and make install. 3. It will produce an executable for example ./lib/postgress that use the function clock_gettime. 4. Trying to run this produced executable on macOS 10.10 or lower will produce the following error dyld: Symbol not found: _clock_gettime Referenced from: /Volumes/Checkout/Checkout.app/Contents/Resources/postgres_10/bin/postgres Expected in: /usr/lib/libSystem.B.dylib Proposed solution: We should have an option that disable to the automatic search for using the clock_gettime on MacOS 10.12 or higher Other open source projects have also introduced similar options: ./configure --disable-clock-gettime https://github.com/libevent/libevent/issues/399 https://github.com/libevent/libevent/pull/400/files thanks, Marc Van Olmen
В списке pgsql-bugs по дате отправления: