[Buildroot] this commit breaks x86_64 toolchain builds

Roderick Taylor myopiate at gmail.com
Mon Sep 10 21:45:09 UTC 2007


On 07/09/2007, Bernhard Fischer <rep.dot.nop at gmail.com> wrote:
> On Thu, Sep 06, 2007 at 10:59:56PM +1000, Roderick Taylor wrote:
> >x86_64, by default uses the lib64 directory to hold 64-bit libraries.
> >not the lib directory as assumed by this commit.
>
> I don't see how the patch mentioned below is the culprit?

the "-" infront of the cp means ignore errors.  When you build for
x86_64, buildroot puts libgcc_s* etc. in $(REAL_GNU_TARGET_NAME)/lib64
not in lib.  so this line will produce an error, and because the patch
stops make from ignoring this, the build stops.

-	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s*
$(TARGET_DIR)/lib/
+	cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s*


> Isn't there a target_gcc_lib_dir we should rather use?
>

I don't know.   I know we can either modify the gcc build to install
into lib instead of lib64 but I haven't tried it.



More information about the buildroot mailing list