On 01/15/13 09:18, Космынин Олег Олегович wrote:
> One bug with debug sections (check your log for: cannot fill debug
> link section) - it will stop DEBUG() macro from working,
Can you please check if the attached patch works for you?
(It won't become upstream as-is, see
<http://sourceforge.net/mailarchive/forum.php?thread_name=50A4BD36.7000502%40redhat.com&forum_name=edk2-devel>,
but you can easily carry it in your version control system.)
After applying the patch, you'll have to regenerate "Conf/tools_def.txt"
by removing it first and then sourcing "edksetup.sh".
Thanks
Laszlo
From 5a0dd1d205350006f2e9dd1694b495a704457509 Mon Sep 17 00:00:00 2001
From: Laszlo Ersek <ler...@redhat.com>
Date: Tue, 15 Jan 2013 22:33:15 +0100
Subject: [PATCH] tools_def.template: use forward slash with --add-gnu-debuglink
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <ler...@redhat.com>
---
BaseTools/Conf/tools_def.template | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/BaseTools/Conf/tools_def.template
b/BaseTools/Conf/tools_def.template
index a82404a..88a9d2b 100644
--- a/BaseTools/Conf/tools_def.template
+++ b/BaseTools/Conf/tools_def.template
@@ -2534,7 +2534,7 @@ NOOPT_DDK3790xASL_IPF_DLINK_FLAGS = /NOLOGO
/NODEFAULTLIB /LTCG /DLL /OPT:REF
*_*_*_OBJCOPY_FLAGS = objcopy not needed for
*_*_*_SYMRENAME_PATH = echo
*_*_*_SYMRENAME_FLAGS = Symbol renaming not needed for
-DEBUG_*_*_OBJCOPY_ADDDEBUGFLAG =
--add-gnu-debuglink=$(DEBUG_DIR)\$(MODULE_NAME).debug
+DEBUG_*_*_OBJCOPY_ADDDEBUGFLAG =
--add-gnu-debuglink=$(DEBUG_DIR)/$(MODULE_NAME).debug
RELEASE_*_*_OBJCOPY_ADDDEBUGFLAG =
DEFINE GCC_ALL_CC_FLAGS = -g -Os -fshort-wchar -fno-strict-aliasing
-Wall -Werror -Wno-missing-braces -Wno-array-bounds -c -include AutoGen.h
--
1.7.1
------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel