Badruzeus Posted March 8, 2019 Share Posted March 8, 2019 9 minutes ago, STLVNUB said: I'll give it a try on Ubuntu 14.4, which I've just installed. Could be my bad gcc83 build compilation, though it ate more than 8gb + an hour for configure && make install with 4 cpu cores. there's still no release package for ubuntu 18.04.x but gcc82. Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666334 Share on other sites More sharing options...
STLVNUB Posted March 8, 2019 Share Posted March 8, 2019 Actually downloading ubuntu-mate-18.10, will give it a go after install 1 Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666336 Share on other sites More sharing options...
apianti Posted March 8, 2019 Share Posted March 8, 2019 (edited) That error just means you need to remove your build folder and rebuild. Basically some of your sources were already built with an older version of GCC, then you built with newer version. Link time optimization (LTO) changed between those two versions apparently, so the old sources don't have compatible link formats for optimization when they are linked with the newer version of LTO. Edited March 8, 2019 by apianti 1 Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666359 Share on other sites More sharing options...
apianti Posted March 8, 2019 Share Posted March 8, 2019 18 hours ago, Badruzeus said: OK, got it.. it was "/opt/subversion/bin", but now is "/usr/local/bin". Sorry my bad, .bash_profile had this till it removed lol: export PATH="/opt/subversion/bin:$PATH" It's working now, thanks. Oh, it didn't really matter where it was installed as long as it came before /usr/bin in PATH, but yeah. 1 Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666360 Share on other sites More sharing options...
STLVNUB Posted March 8, 2019 Share Posted March 8, 2019 (edited) 11 hours ago, STLVNUB said: Actually downloading ubuntu-mate-18.10, will give it a go after install Trouble building BaseTools. Fails in testing. ====================================================================== ERROR: testHelp (TianoCompress.Tests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/stlvnub/src/edk2/BaseTools/Tests/TianoCompress.py", line 33, in testHelp result = self.RunTool('--help', logFile='help') File "/home/stlvnub/src/edk2/BaseTools/Tests/TestTools.py", line 129, in RunTool stdout=popenOut, stderr=subprocess.STDOUT File "/usr/lib/python2.7/subprocess.py", line 394, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child raise child_exception OSError: [Errno 13] Permission denied ====================================================================== ERROR: testRandomDataCycles (TianoCompress.Tests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/stlvnub/src/edk2/BaseTools/Tests/TianoCompress.py", line 66, in testRandomDataCycles self.compressionTestCycle(data) File "/home/stlvnub/src/edk2/BaseTools/Tests/TianoCompress.py", line 43, in compressionTestCycle self.GetTmpFilePath('input') File "/home/stlvnub/src/edk2/BaseTools/Tests/TestTools.py", line 129, in RunTool stdout=popenOut, stderr=subprocess.STDOUT File "/usr/lib/python2.7/subprocess.py", line 394, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child raise child_exception OSError: [Errno 13] Permission denied ---------------------------------------------------------------------- Ran 270 tests in 0.643s FAILED (errors=2) make[1]: Leaving directory '/home/stlvnub/src/edk2/BaseTools/Tests' make: Leaving directory '/home/stlvnub/src/edk2/BaseTools' stlvnub@stlvnub-BMDH:~/src/edk2$ Ok permission error from copying from Mac to Linux. fixed Edited March 8, 2019 by STLVNUB found my brain Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666371 Share on other sites More sharing options...
STLVNUB Posted March 10, 2019 Share Posted March 10, 2019 On 3/8/2019 at 7:47 PM, STLVNUB said: Actually downloading ubuntu-mate-18.10, will give it a go after install Actually went with Linux Mint 19.1, compiles fine with GCC8.2 Now to get Linux making Pkg which can be done apparently Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666444 Share on other sites More sharing options...
apianti Posted March 10, 2019 Share Posted March 10, 2019 It's possible but not as easy: https://stackoverflow.com/questions/33043555/build-osx-pkg-file-on-linux Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666451 Share on other sites More sharing options...
STLVNUB Posted March 10, 2019 Share Posted March 10, 2019 Yeah different ways with same result, time will tell Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666453 Share on other sites More sharing options...
apianti Posted March 10, 2019 Share Posted March 10, 2019 (edited) You could do it by hand as well, you could technically make it on any platform as a .pkg is just a xar archive with a specific structure, I thought I had a bookmark to the structure but I can't seem to find it. I'm sure google would turn up some results though. EDIT: This is it I think, I have too many bookmarks, lol. http://s.sudre.free.fr/Stuff/Ivanhoe/FLAT.html Edited March 10, 2019 by apianti 1 Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666454 Share on other sites More sharing options...
STLVNUB Posted March 10, 2019 Share Posted March 10, 2019 Thanks for that, I'll see what I can do Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666459 Share on other sites More sharing options...
Badruzeus Posted March 10, 2019 Share Posted March 10, 2019 (edited) Is this GCC bug? Yeah, it was using GCC 9.0.1 (experimental). Thanks. #EDIT: (solved) ~/src/UDK2018: rm -rf Build && make -C BaseTools/ clean && make -C BaseTools/Source/C Edited March 10, 2019 by Badruzeus Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666473 Share on other sites More sharing options...
STLVNUB Posted March 10, 2019 Share Posted March 10, 2019 You need to build Basetools, won't compile without them 1 Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666474 Share on other sites More sharing options...
STLVNUB Posted March 10, 2019 Share Posted March 10, 2019 Link to 9.0.1 please Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666475 Share on other sites More sharing options...
Badruzeus Posted March 10, 2019 Share Posted March 10, 2019 Just now, STLVNUB said: You need to build Basetools, won't compile without them Yeah, ~/src was taken from macOS partition. I prefer re-clone from scratch. Thanks. Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666476 Share on other sites More sharing options...
STLVNUB Posted March 10, 2019 Share Posted March 10, 2019 where did you get 9.0.1 from? Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666477 Share on other sites More sharing options...
Badruzeus Posted March 10, 2019 Share Posted March 10, 2019 (edited) 10 minutes ago, STLVNUB said: where did you get 9.0.1 from? If I still remember: sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-get install gcc-9 g++-9 #EDIT: AFAIK, current GCC 9.0.1 package is for Ubuntu 19.04 (ah sorry, I forgot to mention that am using this Ubuntu version LoL). Edited March 10, 2019 by Badruzeus Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666479 Share on other sites More sharing options...
STLVNUB Posted March 10, 2019 Share Posted March 10, 2019 downloading Ubuntu 19.04 won't install on Mint Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666481 Share on other sites More sharing options...
Badruzeus Posted March 10, 2019 Share Posted March 10, 2019 17 minutes ago, STLVNUB said: downloading Ubuntu 19.04 won't install on Mint OK, I've just done re-cloned local ~/src from zero. And now this is what I get when: ~/src/UDK2018: $ make -C BaseTools/Source/C (19.04 also comes with GNU Bash 5.0.1 by default). What is this? Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666485 Share on other sites More sharing options...
STLVNUB Posted March 10, 2019 Share Posted March 10, 2019 (edited) you need to install a few depends using apt-get google uuid/uuid.h apt-get edit: anymore errors just do same Edited March 10, 2019 by STLVNUB 1 Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666487 Share on other sites More sharing options...
Badruzeus Posted March 10, 2019 Share Posted March 10, 2019 25 minutes ago, STLVNUB said: you need to install a few depends using apt-get google uuid/uuid/h apt-get OK, though after `$ sudo apt-get install uuid-dev` I got another issue referenced from: ~/src/UDK2018/BaseTools/Source/C/GenVtf/GenVtf.c ..till I replaced these `strncpy` errors with `memcpy` (didn't recent EDK2 rev solved this issue before?) Then "Building BaseTools C Finished". Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666492 Share on other sites More sharing options...
STLVNUB Posted March 10, 2019 Share Posted March 10, 2019 did you do a make -C BaseTools/ clean first? I'm running VirtualBox on Mint at the moment. I'll give it a try here. 1 Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666494 Share on other sites More sharing options...
Badruzeus Posted March 10, 2019 Share Posted March 10, 2019 19 minutes ago, STLVNUB said: did you do a make -C BaseTools/ clean first? I'm running VirtualBox on Mint at the moment. I'll give it a try here. Honestly, yes I did. And this one seems new bug with GCC 9.0.1 (I think). Will retry with GCC 8.3.0 instead: Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666496 Share on other sites More sharing options...
STLVNUB Posted March 10, 2019 Share Posted March 10, 2019 What script you using to build? You using latest revision of UDK2018? 1 Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666497 Share on other sites More sharing options...
Badruzeus Posted March 10, 2019 Share Posted March 10, 2019 9 minutes ago, STLVNUB said: What script you using to build? You using latest revision of UDK2018? Not using any script, just following Slice guide on prev. topic (which I lost the link into it): cd ~ mkdir src cd src git clone https://github.com/tianocore/edk2 -b UDK2018 --depth 1 UDK2018 cd UDK2018 svn co svn://svn.code.sf.net/p/cloverefiboot/code/ Clover make -C BaseTools/Source/C ./edksetup.sh cd Clover cp -R Patches_for_UDK2018/* ../ ./ebuild.sh -fr ... NASM version 2.14.02 Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666499 Share on other sites More sharing options...
STLVNUB Posted March 10, 2019 Share Posted March 10, 2019 I'm using build_clover Have sucessfully built BaseTools but have this error Ran 270 tests in 0.793s OK make[1]: Leaving directory '/home/stlvnub/src/edk2/BaseTools/Tests' make: Leaving directory '/home/stlvnub/src/edk2/BaseTools' Running edk2 build for CloverX64 using the command: build -D NO_GRUB_DRIVERS_EMBEDDED -D USE_LOW_EBDA -p Clover/Clover.dsc -a X64 -b RELEASE -t GCC53 -n 3 Build environment: Linux-4.19.0-13-generic-x86_64-with-Ubuntu-19.04-disco Build start time: 21:28:44, Mar.10 2019 WORKSPACE = /home/stlvnub/src/edk2 EDK_TOOLS_PATH = /home/stlvnub/src/edk2/BaseTools CONF_PATH = /home/stlvnub/src/edk2/Conf PYTHON_COMMAND = /usr/bin/python3.7 Architecture(s) = X64 Build target = RELEASE Toolchain = GCC53 Active Platform = /home/stlvnub/src/edk2/Clover/Clover.dsc Flash Image Definition = /home/stlvnub/src/edk2/Clover/Clover.fdf Processing meta-data . build.py... /home/stlvnub/src/edk2/MdePkg/Library/BaseLib/BaseLib.inf(-1): error 3000: PCD [gEfiMdePkgTokenSpaceGuid.PcdControlFlowEnforcementPropertyMask] in [/home/stlvnub/src/edk2/MdePkg/Library/BaseLib/BaseLib.inf] is not found in dependent packages: /home/stlvnub/src/edk2/MdePkg/MdePkg.dec - Failed - Build end time: 21:28:46, Mar.10 2019 Build total time: 00:00:01 Will fix tomorrow, need some sleep. 1 Link to comment https://www.insanelymac.com/forum/topic/329777-clover-problems-report-features-request/page/25/#findComment-2666502 Share on other sites More sharing options...
Recommended Posts