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]

Re: Bug: setjmp multilib appears broken


Jeff Johnston wrote:
Shaun Jackman wrote:

On 6/2/06, Jeff Johnston <jjohnstn@redhat.com> wrote:
...

I propose the attached patch to fix this. Shaun, please try it out.



I applied the patch, reran configure from scratch, and built the tree, but it did not appear to fix the problem. Do I need to do anything else, such as run an autotool?

Cheers,
Shaun


I need to look into this further. I am seeing the same problem.

-- Jeff J.

Please try this additional patch as well. CCASFLAGS needs to be part of the AM_MAKEFLAGS so it is passed down. I tried this on my arm-elf build and confirmed that the setjmp object in the thumb version of newlib got the -mthumb flag added.


-- Jeff J.
Index: Makefile.am
===================================================================
RCS file: /cvs/src/src/newlib/Makefile.am,v
retrieving revision 1.39
diff -u -p -r1.39 Makefile.am
--- Makefile.am	11 Apr 2006 19:02:03 -0000	1.39
+++ Makefile.am	5 Jun 2006 16:05:56 -0000
@@ -26,6 +26,7 @@ AM_MAKEFLAGS = \
 	"AR_FLAGS=$(AR_FLAGS)" \
 	"CC_FOR_BUILD=$(CC_FOR_BUILD)" \
 	"CFLAGS=$(CFLAGS)" \
+	"CCASFLAGS=$(CCASFLAGS)" \
 	"CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
 	"CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
 	"INSTALL=$(INSTALL)" \
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/newlib/Makefile.in,v
retrieving revision 1.44
diff -u -p -r1.44 Makefile.in
--- Makefile.in	13 Apr 2006 19:56:22 -0000	1.44
+++ Makefile.in	5 Jun 2006 16:05:56 -0000
@@ -277,6 +277,7 @@ AM_MAKEFLAGS = \
 	"AR_FLAGS=$(AR_FLAGS)" \
 	"CC_FOR_BUILD=$(CC_FOR_BUILD)" \
 	"CFLAGS=$(CFLAGS)" \
+	"CCASFLAGS=$(CCASFLAGS)" \
 	"CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
 	"CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
 	"INSTALL=$(INSTALL)" \

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