configure failure building on a pax kernel

Rogelio Serrano rogelio.serrano at
Thu Feb 16 22:55:01 PST 2012

when building grub i get this error

configure:20574: gcc -o conftest  -Os -Wall -W -Wshadow
-Wpointer-arith -Wmissing-prototypes -Wundef -Wstrict-prototypes -g
-falign-jumps=1 -falign-loops=1 -falign-functions=1 -mno-mmx -mno-sse
-mno-sse2 -mno-3dnow -fno-dwarf2-cfi-asm -m32 -fno-PIE
-fno-stack-protector -mno-stack-arg-probe -nostdlib
-Wl,--defsym,___main=0x8100  -Wall -W -I$(top_srcdir)/include
-I$(top_builddir)/include  -DGRUB_MACHINE_PCBIOS=1
-DGRUB_MACHINE=I386_PC  conftest.c  >&5
/bin/ld: /tmp/ccbRC5gY.o: warning: relocation in readonly section `.eh_frame'.
/bin/ld: warning: cannot find entry symbol _start; defaulting to
/bin/ld: warning: creating a DT_TEXTREL in a shared object.
collect2: ld returned 1 exit status

which is causing the failure? part about not finding the entry symbol
or the part about DT_TEXTREL?

i feel that this is a problem with configure not knowing how to
properly build in a pax environment. how do we fix this?

quarq consulting: agile, open source

More information about the hlfs-dev mailing list