Jump to content

Clover Problems and Solutions


ErmaC
3,206 posts in this topic

Recommended Posts

News about the problems with Xcode 4.6.3 and Xcode 7.2....

  1. The reason boot6 built with earlier versions of Xcode (4.6.3, 6.2, 6.4, whatever...) and lto was hanging is ...
    VA_COPY with LTO enabled on these versions of xcode generates code to copy the struct with an AVX instruction vmovaps.  The memory move is properly aligned, but this instruction generates an invalid opcode exception even on processors that support AVX.  Why?  Because AVX has to be enabled in a control register (XCR0), and UEFI start-up code doesn't enable it.  It's not officially supported.  I tried using -mno-avx and -mno-avx2 compiler options - but it did no good.  Same code generated.  With -fno-lto, different code that uses general-purpose registers is generated.
  2. In rev 3511 I eliminated the particular instance of VA_COPY that was causing the crash.  It seems to be the most likely VA_COPY to be used.  There are other VA_COPYs in the UEFI code that can't be eliminated.
  3. So compiling on these earlier Xcode with LTO enabled kind of works now, but there are land mines in the form of VA_COPYs with vmovaps that may be run into.
  4. I guess we can enable AVX in the register in CpuDxe or something.  We'll see...

Another story is the crash of LD in Xcode 7.2 on CpuInterrupt.obj and AsmFuncsX64.obj.  This is a bug in clang assembler in Xcode 7.2 - it emits invalid symbol table entries that mark some absolute symbols as section relative.  These symbols are not actually used, but for some reason LD crashes.  In Xcode 7.3, the bug in clang assembler is fixed.  LD still crashes on an object file with such invalid entries, but clang assembler no longer emits them.  The object files generated by nasm don't contain such invalid entries.

 

On something else - built with Xcode 7.3.1 Clover works nicely

 

On another thing - GCC 6.1 can't be used.  There's a regression in the handling of __builtin_ms_va_list.  The code it generates for va_arg mistakes the va_list for a sysv va_list instead of ms_va_list and goes nuts.  I don't know how this regression happened (it's not in 4.9 or 5.3), but let's hope they fix it.  I tried using __builtin_va_list, but generates the exact same faulty code.

  • Like 6
Link to comment
Share on other sites

The settings now are not friendly to anyone who doesn't have TOOLCHAIN_DIR under $HOME/src/opt/local.  I've changed it locally, so I don't mind, but just another -2 cents...

Not everyone places his workplace directly in "$HOME", so ""$HOME/src/opt/local" is a bad standard definition for everyone...

Link to comment
Share on other sites

The difference between GCC48 and the others is that GCC48 does not use LTO.  The others use LTO.

The problem I mentioned with GCC 6.1 is only in code generated with LTO.  It goes away if LTO is not used.

So other than being link-time-optimization, LTO is a playing field for cool optimizations that destabilize the code.

Slice added --no-lto option in rev 3505, but it's only used on XCODE build, not GCC build.

Try this, interesting results.

 

Build with GCC53,GCC49 errors, iso  don't work in VBox

Build with GCC48 ok, iso works in VBox

 

Use Same GCC for all three builds

Link to comment
Share on other sites

Guys I have updated xcode to 7.3.1 and now I receive this:

Clover x64
_______________________________________________________________________________
TOOLCHAIN_DIR: /Users/Micky1979/src/opt/local
Initializing workspace
Loading previous configuration from /Users/Micky1979/src/edk2/Conf/BuildEnv.sh
WORKSPACE: /Users/Micky1979/src/edk2
EDK_TOOLS_PATH: /Users/Micky1979/src/edk2/BaseTools
CONF_PATH: /Users/Micky1979/src/edk2/Conf
Building tools as they are not found
make -C Source/C
Attempting to detect ARCH from 'uname -m': x86_64
Detected ARCH of X64 using uname.
mkdir -p .
make -C Common
gcc -Wno-deprecated-declarations  -c -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -nostdlib -c -g  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/  FvLib.c -o FvLib.o
FvLib.c:197:128: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]
  ...*) ((((UINTN) CurrentFile - (UINTN) mFvHeader + GetFfsFileLength(CurrentFile) + 0x07) & (-1 << 3)) + (UINT8 *) mF...
                                                                                              ~~ ^
FvLib.c:482:171: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]
  ...((((UINTN) CurrentSection.CommonHeader) + GetSectionFileLength(CurrentSection.CommonHeader) + 0x03) & (-1 << 2));
                                                                                                            ~~ ^
2 errors generated.
make[2]: *** [FvLib.o] Error 1
make[1]: *** [Common] Error 2
make: *** [Source/C] Error 2
Micky1979s-MBP:~ Micky1979$ 

Shifting negative values was a warning in past, ...was working before. I radically changed my script to use Xcode (w/o build gcc ..otherwise always work).

if someone want to take a look and try if everything work with Xcode 7.3 or confirm that is not a Xcode 7.3.1 problem.. is appreciated.

In the event, please backup your src folder and build Clover from scratch, or backup & delete ~/src/opt and ~/src/tools

Edited by Micky1979
script removed
Link to comment
Share on other sites

I already posted scripts in post #706.  Apple has published cctools 877.8, so buildmtoc.sh can be updated.

 

The warnings are from edk2/BaseTools, which are part of edk2 - not Clover.  They're only built once, so ignore them.

  • Like 1
Link to comment
Share on other sites

I already posted scripts in post #706.  Apple has published cctools 877.8, so buildmtoc.sh can be updated.

Imported something from your scripts (nasm patch + mtoc compilation installed in the rsc folder) but I'm donwloading cctool from github (Apple) so should always up-todate (as soon they update the repo offcourse). Everything looks super in only one script, what I need!

Thanks Guys :)

 

EDIT

the script require a new compilation of Clover the first time because mtoc.NEW is in ~/src/opt/local/bin/ to avoid failures if edk2 was already compiled once with other scripts

 

EDIT II 

Zenith432 create a script for building gcc 6.1, the script require "CloverPatches" folder (attached) to be in HOME folder to be found (contains build_gcc6.sh), or copy it manually.

CloverPatches.zip

CloverBuilder.command.zip

Edited by Micky1979
script updated to v2.0 build with gcc6.1 (By Zenith432)
  • Like 1
Link to comment
Share on other sites

Just note about the nasm patch that I had some problem with the tabulation in the patch.  At first it wasn't exactly like the nasm sources, so patch was failing.  Make sure the tabulation is exactly like in buildnasm.sh - and check that patch is working and not outputting error message.

  • Like 1
Link to comment
Share on other sites

Yep, I notice that but it's ok I think, also I have checked it manually, maybe the tar.bz2 one was done in a non Darwin machine. BTW the script by desing exit on error in case of minimal errors encountered 

Link to comment
Share on other sites

Build with: [Args: ./ebuild.sh -xcode5 -mc | Command: build -D USE_BIOS_BLOCKIO -D USE_LOW_EBDA -D CLANG -p Clover/Clover.dsc -a X64 -b RELEASE -t XCODE5 -n 5 | OS: 10.11.5 | XCODE: 7.3.1]

UEFI ok, boot6 ok, boot7 unfurtunately crash:

post-674334-0-10120900-1462821973_thumb.jpg

rev 3513

install log

 

 

Backing up EFI files

Backing up stage2 file /Volumes/Pandora Installer/EFIROOTDIR/boot  to /Volumes/Pandora Installer/EFI-Backups/r3513/2016-05-09-21h05/boot
Backing up /Volumes/Pandora Installer/EFIROOTDIR/EFI folder to /Volumes/Pandora Installer/EFI-Backups/r3513/2016-05-09-21h05/EFI
No Active Partition

Stage 0 - Writting boot0af to /dev/disk2
/Volumes/Pandora Installer/usr/local/bin/fdisk440 -u -f /Volumes/Pandora Installer/usr/standalone/i386/boot0af -y /dev/disk2

Stage 1 - Writting boot1f32 to /dev/rdisk2s1
dd if=/dev/rdisk2s1 count=1 bs=512 of=/tmp/origbs
boot volume format is FAT32
cp /tmp/boot1f32 /tmp/newbs
dd if=/tmp/origbs of=/tmp/newbs skip=3 seek=3 bs=1 count=87 conv=notrunc
dd if=/tmp/newbs of=/dev/rdisk2s1

Stage 2 - Written boot7 (x64) to /Volumes/ESP/boot

======================================================
=========== Clover EFI Installation Finish ===========
======================================================

 

 

EDIT

nasm logs:

 

 

nasm configure log:

configure: WARNING: No acsciidoc package found
configure: WARNING: No xmlto package found

nasm make log

warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.

 

 

Edited by Micky1979
added nasm compilation logs
Link to comment
Share on other sites

Build with: [Args: ./ebuild.sh -xcode5 -mc | Command: build -D USE_BIOS_BLOCKIO -D USE_LOW_EBDA -D CLANG -p Clover/Clover.dsc -a X64 -b RELEASE -t XCODE5 -n 5 | OS: 10.11.5 | XCODE: 7.3.1]

UEFI ok, boot6 ok, boot7 unfurtunately crash:

attachicon.gif20160509_211118.jpg

rev 3513

install log

 

 

Backing up EFI files

Backing up stage2 file /Volumes/Pandora Installer/EFIROOTDIR/boot  to /Volumes/Pandora Installer/EFI-Backups/r3513/2016-05-09-21h05/boot
Backing up /Volumes/Pandora Installer/EFIROOTDIR/EFI folder to /Volumes/Pandora Installer/EFI-Backups/r3513/2016-05-09-21h05/EFI
No Active Partition

Stage 0 - Writting boot0af to /dev/disk2
/Volumes/Pandora Installer/usr/local/bin/fdisk440 -u -f /Volumes/Pandora Installer/usr/standalone/i386/boot0af -y /dev/disk2

Stage 1 - Writting boot1f32 to /dev/rdisk2s1
dd if=/dev/rdisk2s1 count=1 bs=512 of=/tmp/origbs
boot volume format is FAT32
cp /tmp/boot1f32 /tmp/newbs
dd if=/tmp/origbs of=/tmp/newbs skip=3 seek=3 bs=1 count=87 conv=notrunc
dd if=/tmp/newbs of=/dev/rdisk2s1

Stage 2 - Written boot7 (x64) to /Volumes/ESP/boot

======================================================
=========== Clover EFI Installation Finish ===========
======================================================

 

 

EDIT

nasm logs:

 

 

nasm configure log:

configure: WARNING: No acsciidoc package found
configure: WARNING: No xmlto package found

nasm make log

warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.
warning: unknown warning option '-Wno-pedantic-ms-format'; did you mean '-Wno-pedantic'? [-Wunknown-warning-option]
warning: unknown warning option '-Wc90-c99-compat'; did you mean '-Wc99-compat'? [-Wunknown-warning-option]
2 warnings generated.

 

 

 

Flag -mc usually requires --no-usb

Link to comment
Share on other sites

Clover 3513 (Compile XCODE7.3.1, OS X 10.11.5(15F31a)).

I don't have problems with loading boot7 on the desktop (Z77-ds3h) or on a laptop (N53sv).

(Clover on ESPHDD,ESPSSD,ESPUSBflash,USBflash)

 

 

 

 

1.Clover on  ESP_HDD.

0:385  0:064  Found supported controller for BiosBlockIO class=010601
0:385  0:000  Int13Extensions: INT 13 41 DL=80 : CF=0 BX=AA55 CX=0001
0:385  0:000  GetDriveParameters: INT 13 48 DL=80 : CF=0 AH=00
0:385  0:000  BlockSize = 512  LastBlock = 156301487
0:388  0:002  Int13Extensions: INT 13 41 DL=F2 : CF=0 BX=AA55 CX=0005
0:388  0:000  GetDriveParameters: INT 13 48 DL=F2 : CF=0 AH=00
0:388  0:000  BlockSize = 2048  LastBlock = -1
0:935  0:547  
0:935  0:000  Now is 10.5.2016,  4:30:14 (GMT)
0:935  0:000  Starting Clover rev 3513 on CLOVER EFI
0:935  0:000  Build with: [Args: ./ebuild.sh -mc --no-usb | Command: build -D DISABLE_USB_SUPPORT -D USE_BIOS_BLOCKIO -D USE_LOW_EBDA -p Clover/Clover.dsc -a X64 -b RELEASE -t XCODE5 -n 9 | OS: 10.11.5 | XCODE: 7.3.1]
0:935  0:000  SelfDevicePath=PcieRoot(0x0)\Pci(0x1F,0x2)\VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,80)\HD(1,GPT,034095C8-5F4A-4281-85FC-A7A50EF5597F,0x28,0x64000) @DD837A98
0:935  0:000  SelfDirPath = \EFI\CLOVER

2.Clover on  ESP_USBflash

0:406  0:064  Found supported controller for BiosBlockIO class=010601
0:406  0:000  Int13Extensions: INT 13 41 DL=80 : CF=0 BX=AA55 CX=0005
0:406  0:000  GetDriveParameters: INT 13 48 DL=80 : CF=0 AH=00
0:406  0:000  BlockSize = 512  LastBlock = 16793599
0:406  0:000  Int13Extensions: INT 13 41 DL=81 : CF=0 BX=AA55 CX=0001
0:406  0:000  GetDriveParameters: INT 13 48 DL=81 : CF=0 AH=00
0:406  0:000  BlockSize = 512  LastBlock = 156301487
0:408  0:002  Int13Extensions: INT 13 41 DL=F2 : CF=0 BX=AA55 CX=0005
0:408  0:000  GetDriveParameters: INT 13 48 DL=F2 : CF=0 AH=00
0:408  0:000  BlockSize = 2048  LastBlock = -1
0:974  0:566  
0:974  0:000  Now is 10.5.2016,  5:29:44 (GMT)
0:974  0:000  Starting Clover rev 3513 on CLOVER EFI
0:974  0:000  Build with: [Args: ./ebuild.sh -mc --no-usb | Command: build -D DISABLE_USB_SUPPORT -D USE_BIOS_BLOCKIO -D USE_LOW_EBDA -p Clover/Clover.dsc -a X64 -b RELEASE -t XCODE5 -n 9 | OS: 10.11.5 | XCODE: 7.3.1]
0:974  0:000  SelfDevicePath=PcieRoot(0x0)\Pci(0x1F,0x2)\USB(0x80,0x2)\HD(1,GPT,28930E11-7002-43DA-8452-3AF5B974C1BB,0x28,0x64000) @DD837818
0:974  0:000  SelfDirPath = \EFI\CLOVER

3.Clover on USB Flash.

0:326  0:149   SetMode pref 5 (5) = Success
0:390  0:064  Found supported controller for BiosBlockIO class=010601
0:390  0:000  Int13Extensions: INT 13 41 DL=80 : CF=0 BX=AA55 CX=0001
0:390  0:000  GetDriveParameters: INT 13 48 DL=80 : CF=0 AH=00
0:390  0:000  BlockSize = 512  LastBlock = 156301487
0:390  0:000  Int13Extensions: INT 13 41 DL=81 : CF=0 BX=AA55 CX=0005
0:390  0:000  GetDriveParameters: INT 13 48 DL=81 : CF=0 AH=00
0:390  0:000  BlockSize = 512  LastBlock = 4014079
0:392  0:002  Int13Extensions: INT 13 41 DL=F2 : CF=0 BX=AA55 CX=0005
0:392  0:000  GetDriveParameters: INT 13 48 DL=F2 : CF=0 AH=00
0:392  0:000  BlockSize = 2048  LastBlock = -1
1:017  0:624  
1:017  0:000  Now is 10.5.2016,  5:39:50 (GMT)
1:017  0:000  Starting Clover rev 3513 on CLOVER EFI
1:017  0:000  Build with: [Args: ./ebuild.sh -mc --no-usb | Command: build -D DISABLE_USB_SUPPORT -D USE_BIOS_BLOCKIO -D USE_LOW_EBDA -p Clover/Clover.dsc -a X64 -b RELEASE -t XCODE5 -n 9 | OS: 10.11.5 | XCODE: 7.3.1]
1:017  0:000  SelfDevicePath=PcieRoot(0x0)\Pci(0x1F,0x2)\USB(0x81,0x2)\HD(1,MBR,0x00000000,0x2,0x3D3FFE) @DD7FDE18
1:017  0:000  SelfDirPath = \EFI\CLOVER

 

 

Link to comment
Share on other sites

Flag -mc usually requires --no-usb

Thanks, added but still crash  :(

Clover 3513 (Compile XCODE7.3.1, OS X 10.11.5(15F31a)).

I don't have problems with loading boot7 on the desktop (Z77-ds3h) or on a laptop (N53sv).

(Clover on ESPHDD,ESPSSD,ESPUSBflash,USBflash)

 

Same configuration now. This is my build:3513.zip

can I have your? ..please

I want ensure if I have problem building Clover with Xcode + "native" stuff or not (or is my PC). Thanks

 

PS with GNU GCC works with or without --no-usb, apparently in past

Edited by Micky1979
Link to comment
Share on other sites

Micky1979:  The exception is divide-by-zero, faulting instruction is '48F7F7' which is div rdx.
 
It comes from BlockIoDxe/BiosInt13.c function Edd11BiosReadBlocks, the following code

  if ((Lba + (BufferSize / BlockSize) - 1) > Media->LastBlock) {
    return EFI_INVALID_PARAMETER;
  }

because BlockSize == Media->BlockSize == 0;
Looking over code I see this value comes BiosInitBlockIo call to Int13Extensions returns Bios->Parameters.BytesPerSector zero for some device.
Slice?

Link to comment
Share on other sites

Thanks, added but still crash  :(

 

Same configuration now. This is my build:attachicon.gif3513.zip

can I have your? ..please

I want ensure if I have problem building Clover with Xcode + "native" stuff or not (or is my PC). Thanks

 

PS with GNU GCC works with or without --no-usb

I don't have problems with this version of Clover . Clover is on ESP HDD (Legacy and UEFI mode) -Z77-ds3h.

 

 

 

 

This is your clover

post-617057-0-76208900-1462885266_thumb.jpg

Boot6.

1:801  0:000  Now is 10.5.2016,  12:5:26 (GMT)
1:801  0:000  Starting Clover rev 3513 on CLOVER EFI
1:801  0:000  Build with: [Args: ./ebuild.sh -xcode5 -mc --no-usb | Command: build -D DISABLE_USB_SUPPORT -D USE_BIOS_BLOCKIO -D USE_LOW_EBDA -D CLANG -p Clover/Clover.dsc -a X64 -b RELEASE -t XCODE5 -n 5 | OS: 10.11.5 | XCODE: 7.3.1]
1:801  0:000  SelfDevicePath=PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x4,0x0,0x0)\HD(1,GPT,034095C8-5F4A-4281-85FC-A7A50EF5597F,0x28,0x64000) @DD49DA18
1:801  0:000  SelfDirPath = \EFI\CLOVER

Boot7.

0:389  0:064  Found supported controller for BiosBlockIO class=010601
0:389  0:000  Int13Extensions: INT 13 41 DL=80 : CF=0 BX=AA55 CX=0001
0:389  0:000  GetDriveParameters: INT 13 48 DL=80 : CF=0 AH=00
0:389  0:000  BlockSize = 512  LastBlock = 156301487
0:391  0:002  Int13Extensions: INT 13 41 DL=F2 : CF=0 BX=AA55 CX=0005
0:391  0:000  GetDriveParameters: INT 13 48 DL=F2 : CF=0 AH=00
0:391  0:000  BlockSize = 2048  LastBlock = -1
0:904  0:512  
0:904  0:000  Now is 10.5.2016,  12:12:0 (GMT)
0:904  0:000  Starting Clover rev 3513 on CLOVER EFI
0:904  0:000  Build with: [Args: ./ebuild.sh -xcode5 -mc --no-usb | Command: build -D DISABLE_USB_SUPPORT -D USE_BIOS_BLOCKIO -D USE_LOW_EBDA -D CLANG -p Clover/Clover.dsc -a X64 -b RELEASE -t XCODE5 -n 5 | OS: 10.11.5 | XCODE: 7.3.1]
0:904  0:000  SelfDevicePath=PcieRoot(0x0)\Pci(0x1F,0x2)\VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,80)\HD(1,GPT,034095C8-5F4A-4281-85FC-A7A50EF5597F,0x28,0x64000) @DD837A98
0:904  0:000  SelfDirPath = \EFI\CLOVER

Uefi

0:100  0:000  Now is 10.5.2016,  12:25:57 (GMT)
0:100  0:000  Starting Clover rev 3513 on American Megatrends EFI
0:100  0:000  Build with: [Args: ./ebuild.sh -xcode5 -mc --no-usb | Command: build -D DISABLE_USB_SUPPORT -D USE_BIOS_BLOCKIO -D USE_LOW_EBDA -D CLANG -p Clover/Clover.dsc -a X64 -b RELEASE -t XCODE5 -n 5 | OS: 10.11.5 | XCODE: 7.3.1]
0:100  0:000  SelfDevicePath=PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x4,0xFFFF,0x0)\HD(1,GPT,034095C8-5F4A-4281-85FC-A7A50EF5597F,0x28,0x64000) @DB852118
0:100  0:000  SelfDirPath = \EFI\BOOT

 

 

Link to comment
Share on other sites

droples, the exception is triggered by BlockSize 0 being returned from Int 13 on Micky1979's system for one of the devices.  You can't reproduce it if your bios does not return such data.

 

Attached is script to build GCC 6.1.0, along with a patch for the regression of __builtin_ms_va_args when compiling with -flto.  The patch is thanks to vries@gcc.gnu.org.

 

With this patched GCC 6.1.0, Clover builds ok and runs.  [with -gcc53 toolchain option to ebuild.sh].

I noticed boot6 comes out bigger than GCC 5.3.0.

 

build_gcc6.sh.gz

Link to comment
Share on other sites

×
×
  • Create New...