This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

patch for x86_64 building


So, I was trying to build newlib natively on linux, I know weird, but there it is...  and I noticed I needed the below patch to prevent the build from failing.  Someone decided to build the -m32 variant for a multilib, and compile the x86_64 code with -m32.  That just isn't ever going to work.  This patch avoids building the x86_64 assembly code in non-x86_64 multilib compiles.

2012-02-22  Mike Stump  <mikestump@comcast.net>

	* libc/machine/x86_64/memcpy.S: Don't build for -m32.
	* libc/machine/x86_64/setjmp.S: Likewise.
	* libc/machine/x86_64/memset.S: Likewise.

With this, I can build everything.
	
	

Attachment: newlib-1.diffs.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]