Hello,

I am trying to build VirtualBox Guest Additions 7.1 for Alpine Linux. On
x86, VBoxClient gets TEXTRELS, which are not supported by musl.
My build log points at libX11LazyLoad.asm, which is generated during
build process and does not seem to use GOT for references.

LocalConfig.kmk is attached.

---
Best regards,
Peter
# -*- Makefile -*-
#
# Overwrite some default kBuild settings
#

#
# Copyright (C) 2006-2008 Sun Microsystems, Inc.
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# you can redistribute it and/or modify it under the terms of the GNU
# General Public License as published by the Free Software Foundation,
# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
# distribution. VirtualBox OSE is distributed in the hope that it will
# be useful, but WITHOUT ANY WARRANTY of any kind.
#

# don't build testcases to save time, they are not needed for the package
VBOX_WITH_TESTCASES     :=
VBOX_WITH_VALIDATIONKIT :=

KBUILD_MSG_STYLE        := brief

## paths, origin, hardening
VBOX_WITH_HARDENING        := 2
VBOX_WITH_ORIGIN           :=

## don't build with -Werror
VBOX_WITH_WARNINGS_AS_ERRORS :=

# use system xorg and gl headers
VBOX_USE_SYSTEM_XORG_HEADERS = 1
VBOX_USE_SYSTEM_GL_HEADERS = 1

# no legacy X.org - use KMS
VBOX_NO_LEGACY_XORG_X11 = 1

## Disable anything X11 related
VBOX_WITH_PAM :=

TOOL_YASM_AS := yasm
VBOX_GCC_OPT=-Os -fstack-clash-protection -Wformat -Werror=format-security 
-D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 
-D_LIBCPP_ENABLE_HARDENED_MODE=1
_______________________________________________
vbox-dev mailing list
vbox-dev@virtualbox.org
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to