Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Mar 2021 18:49:22 +0000
From:      Chris Rees <crees@bayofrum.net>
To:        Jochen Neumeister <joneum@FreeBSD.org>, Piotr Kubaj <pkubaj@FreeBSD.org>,  ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r569017 - head/databases/mysql57-server
Message-ID:  <d20b220a-5007-c959-b3b1-d8e4f0095e12@bayofrum.net>
In-Reply-To: <650caf6e-5ab6-ec52-7cde-c77757a5d019@FreeBSD.org>
References:  <202103231049.12NAnNUa027511@repo.freebsd.org> <650caf6e-5ab6-ec52-7cde-c77757a5d019@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23/03/2021 17:14, Jochen Neumeister wrote:
> It would be nice if you at least write an eMail before that you want 
> to change something on someone else's port .....

This is covered under blanket approval anyway-- it's a trivial build fix.

Chris

>
>
> Am 23.03.21 um 11:49 schrieb Piotr Kubaj:
>> Author: pkubaj
>> Date: Tue Mar 23 10:49:23 2021
>> New Revision: 569017
>> URL: https://svnweb.freebsd.org/changeset/ports/569017
>>
>> Log:
>>    databases/mysql57-server: don't use LLD for linking on powerpc
>>       LLD currently fails:
>>    ld: error: relocation refers to a discarded section: 
>> .rodata._ZN5boost6detail8function15functor_managerINS_9algorithm6detail13token_finderFINS4_10is_any_ofFIcEEEEE7managerERKNS1_15function_bufferERSA_NS1_30functor_manager_operation_typeEN4mpl_5bool_ILb0EEE
>>    >>> defined in 
>> ../../archive_output_directory/libmysqlpump_lib.a(object_filter.cc.o)
>>    >>> referenced by object_filter.cc
>>    >>>               object_filter.cc.o:(.got2+0x108) in archive 
>> ../../archive_output_directory/libmysqlpump_lib.a
>>       ld: error: relocation refers to a discarded section: 
>> .rodata._ZN5boost6detail8function15functor_managerINS_9algorithm6detail13token_finderFINS4_10is_any_ofFIcEEEEE7managerERKNS1_15function_bufferERSA_NS1_30functor_manager_operation_typeEN4mpl_5bool_ILb0EEE
>>    >>> defined in 
>> ../../archive_output_directory/libmysqlpump_lib.a(sql_formatter.cc.o)
>>    >>> referenced by sql_formatter.cc
>>    >>>               sql_formatter.cc.o:(.got2+0x130) in archive 
>> ../../archive_output_directory/libmysqlpump_lib.a
>>       ld: error: relocation refers to a discarded section: 
>> .rodata._ZN5boost6detail8function15functor_managerINS_9algorithm6detail13token_finderFINS4_10is_any_ofFIcEEEEE7managerERKNS1_15function_bufferERSA_NS1_30functor_manager_operation_typeEN4mpl_5bool_ILb0EEE
>>    >>> defined in 
>> ../../archive_output_directory/libmysqlpump_lib.a(table.cc.o)
>>    >>> referenced by table.cc
>>    >>>               table.cc.o:(.got2+0x50) in archive 
>> ../../archive_output_directory/libmysqlpump_lib.a
>>    clang++: error: linker command failed with exit code 1 (use -v to 
>> see invocation)
>>
>> Modified:
>>    head/databases/mysql57-server/Makefile
>>
>> Modified: head/databases/mysql57-server/Makefile
>> ============================================================================== 
>>
>> --- head/databases/mysql57-server/Makefile    Tue Mar 23 10:47:46 
>> 2021    (r569016)
>> +++ head/databases/mysql57-server/Makefile    Tue Mar 23 10:49:23 
>> 2021    (r569017)
>> @@ -174,6 +174,10 @@ CC= ${LOCALBASE}/bin/clang${LLVM_DEFAULT}
>>   CXX=        ${LOCALBASE}/bin/clang++${LLVM_DEFAULT}
>>   .endif
>>   +.if ${ARCH} == powerpc
>> +LLD_UNSAFE=    yes
>> +.endif
>> +
>>   post-extract:
>>       @${RM} -rv ${WRKSRC}/sql/sql_hints.yy.cc 
>> ${WRKSRC}/sql/sql_hints.yy.h
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d20b220a-5007-c959-b3b1-d8e4f0095e12>