[MDEV-23496] Fix build issue for MariaDB-10.5 on Debian 9 Created: 2020-08-17  Updated: 2020-08-17  Resolved: 2020-08-17

Status: Closed
Project: MariaDB Server
Component/s: Compiling
Affects Version/s: 10.5.5
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Yuqi Gu Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates MDEV-23491 __bss_start breaks compilation of var... Closed
Problem/Incident
is caused by MDEV-15961 Fix stacktraces under FreeBSD Closed

 Description   

10.5 fails to build on Debian 9:
"undefined reference to symbol '__bss_start' /usr/lib/x86_64-linux-gnu/libgmp.so.10:
error adding symbols: DSO missing from command line "

The issue was fixed in 10.2 but not merged to 10.5 (MDEV-10943):
Linux does not actually use bss_start;
Put bss_start into #ifndef _linux_ section.



 Comments   
Comment by Marko Mäkelä [ 2020-08-17 ]

MDEV-23491 was filed for this a little earlier, suggesting that we just let the kernel’s write() system call validate the pointer. I think that this issue was caused by MDEV-15961. We saw some breakage on various platforms.

Generated at Thu Feb 08 09:22:50 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.