Re: Annoying build warnings from latest Apple toolchain

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Annoying build warnings from latest Apple toolchain
Дата
Msg-id 20230929023315.yxmzvz7oyjjjqiah@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Annoying build warnings from latest Apple toolchain  (Andres Freund <andres@anarazel.de>)
Ответы Re: Annoying build warnings from latest Apple toolchain  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

On 2023-09-28 19:20:27 -0700, Andres Freund wrote:
> Thus the easiest fix looks to be to use this:
> 
> diff --git a/meson.build b/meson.build
> index 5422885b0a2..16a2b0f801e 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -224,7 +224,7 @@ elif host_system == 'darwin'
>    library_path_var = 'DYLD_LIBRARY_PATH'
>  
>    export_file_format = 'darwin'
> -  export_fmt = '-exported_symbols_list=@0@'
> +  export_fmt = '-Wl,-exported_symbols_list,@0@'
>  
>    mod_link_args_fmt = ['-bundle_loader', '@0@']
>    mod_link_with_dir = 'bindir'
> 
> 
> I don't have anything older than Ventura to check though.

Attached is the above change and a commit to change CI over to Sonoma. Not
sure when we should switch, but it seems useful to include for testing
purposes at the very least.

Greetings,

Andres Freund

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: The danger of deleting backup_label
Следующее
От: Andrei Lepikhov
Дата:
Сообщение: Re: Add the ability to limit the amount of memory that can be allocated to backends.