> > This version should be ok. Versions before 2.18 were buggy. > > Can you give a more detailed description of what you are doing > than mere "I am trying to statically build busybox-1.19.3"?
Ok. I am porting Linux for a new architecture. Of course, I am unable to pass the romfs mounting step, because my Linux system is not built. So I have built a uClibc cross-compiler and now I need to built my romfs image with busybox apps. I am trying to build busybox with this cross-compiler, and I want (at the moment) build static applications. > What .config do you use? Do you pass any variables such as > EXTRA_CFLAGS to make? I need -G0 and -fsrodata-size=0 as extra cflags. But the problem with gc-sections appears even if I try to compile without them. > Does just "make defconfig; make" work for you? Indeed, the build behaves differently with make defconfig; make. It is clearly when I set the CONFIG_CROSS_COMPILER_PREFIX option that I obtain the "gc-sections requires either an entry or an undefined symbol" error. > -- > vda _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
