iPXE discussion forum
Cannot compile in FreeBSD 9.2 and 10.0RC3 - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Cannot compile in FreeBSD 9.2 and 10.0RC3 (/showthread.php?tid=7168)



Cannot compile in FreeBSD 9.2 and 10.0RC3 - frankpeng - 2014-01-01 06:20

Hello,
The following is the error when I try to compile IPXE on FreeBSD 9.2

Code:
....
[BUILD] bin/ndp.o
  [BUILD] bin/tls.o
net/tls.c: In function 'tls_new_server_hello':
net/tls.c:1668: internal compiler error: Segmentation fault: 11
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake: *** [bin/tls.o] Error 1
root@samba:/usr/local/ipxe/src #

This is the error when I compile IPXE on FreeBSD 10.0-RC3

Code:
root@v220:/usr/local/ipxe/src # make
make: "/usr/local/ipxe/src/Makefile" line 192: Missing dependency operator
make: "/usr/local/ipxe/src/Makefile" line 194: Need an operator
make: "/usr/local/ipxe/src/Makefile.housekeeping" line 20: Missing dependency operator
make: "/usr/local/ipxe/src/Makefile.housekeeping" line 22: Need an operator
make: "/usr/local/ipxe/src/Makefile.housekeeping" line 23: Missing dependency operator
make: "/usr/local/ipxe/src/Makefile.housekeeping" line 25: Need an operator
make: "/usr/local/ipxe/src/Makefile.housekeeping" line 26: Missing dependency operator
make: "/usr/local/ipxe/src/Makefile.housekeeping" line 28: Need an operator
make: "/usr/local/ipxe/src/Makefile.housekeeping" line 29: Missing dependency operator
make: "/usr/local/ipxe/src/Makefile.housekeeping" line 31: Need an operator
make: "/usr/local/ipxe/src/Makefile.housekeeping" line 34: Need an operator
make: "/usr/local/ipxe/src/Makefile.housekeeping" line 36: Need an operator
make: "/usr/local/ipxe/src/Makefile.housekeeping" line 48: Need an operato
...
make: "/usr/local/ipxe/src/Makefile.housekeeping" line 1330: Need an operator
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/local/ipxe/src
root@v220:/usr/local/ipxe/src #



RE: Cannot compile in FreeBSD 9.2 and 10.0RC3 - robinsmidsrod - 2014-01-08 08:48

Sometimes segfaults happen because of bad memory chips, but I'm going to assume that you have ensured your hardware is stable and working. I know there's been some discussion on IRC (and the mailing-list) about problems to compile on BSD. Firstly, update to the latest tip of the master git branch and try again. If that doesn't work, report a bug on the mailing-list.