Comments (8)
The R_X86_64_GOTPCRELX
et al errors should be resolved by a trivial patch to elf2efi.c
to add extra constants to the /* Provide constants missing on some platforms */
section. I'll push a PR for this later this evening, if I get time.
from ipxe.
git reset --hard HEAD~2
prior to compiling removes the error messages and allows compilation to finish, so the problem been introduced since 337880d.
from ipxe.
The failure to chainload turns out to be DNS not working so well in the building I'm in. Replacing chain tftp://server.domain/menu.ipxe
with chain tftp://ipaddress/menu.ipxe
solved that problem. The compilation failure remains outstanding.
from ipxe.
Thanks for the report!
When was gcc 8.3 released?
If you need to build with old versions of gcc you might need to stay on older commits.
You should be able to use a Docker image or other VM with a never set of build tools to build current master.
It might be harder and harder to stay compatible, not sure how long back we really should (or must?) stay compatible?
from ipxe.
https://gcc.gnu.org/gcc-8 says May 2019. The GCC shipped with my CentOS 7 system was 4.something, I had to use https://www.softwarecollections.org/en/scls/rhscl/devtoolset-8/ to get 8.3 and there isn't a later devtoolset release.
Would an iPXE compiled on an Ubuntu system work on a CentOS 7 server?
from ipxe.
Would an iPXE compiled on an Ubuntu system work on a CentOS 7 server?
That's one of my stupider questions of today. Of course it will, because the laptop under build is executing the iPXE binary, not the server hosting it.
from ipxe.
The
R_X86_64_GOTPCRELX
et al errors should be resolved by a trivial patch toelf2efi.c
to add extra constants to the/* Provide constants missing on some platforms */
section. I'll push a PR for this later this evening, if I get time.
OK, this part at least should be solved in commit 9e92c3989 (and in wimboot in commit ipxe/wimboot@47f6298)
from ipxe.
With the current master (commit 9e92c3989) I now get a successful build in a CentOS 7.9 container:
[root@7a3b91da0507 src]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
[root@7a3b91da0507 src]# gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
from ipxe.
Related Issues (20)
- Missing document `linktype`.
- Intel 82599 NIC fail to boot iPXE chainloading
- Booting Linux with long kernel arguments fails HOT 2
- Mellanox nic use commit 4bd064d ipxe.efi will happen DHCPDISCOVER failed,but use the latest master ipxe.efi will work ok HOT 2
- Windows pre-boot screen splits to multiple displays after EFI Sanboot
- sanboot selects removable bootable media in EFI Systems/Feature request to skip/filter removable media in sanboot
- Menus with Items Display Off over COM ports HOT 6
- Support OCSP Stapling HOT 1
- using "console --picture ..." without imgfree aferward , causes Initramfs unpacking failed: invalid magic at kernel start
- II followed your README file to compile it in the Ubuntu system, but it encountered an error. HOT 1
- dhcp + multi interfaces problem HOT 8
- Stopping when using the RTL8111H network card HOT 2
- realtek 8168/8169 doesn't work HOT 1
- TLS not supported on various domains HOT 2
- Build failure with gcc-14: error: type defaults to ‘int’ in declaration of ‘FILE_LICENCE’ [-Wimplicit-int] HOT 8
- How to boot windows (iscsi) ? HOT 1
- GCC14 issues HOT 7
- How to sign ROM for secure boot ?
- Compilation issue HOT 3
- Loading the ISO image to the RAM and perform OS installing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipxe.