This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi Dave, We are ctually using the C++ exception handling system. So I will need to remove the -nostllib flag. The other problem is related to the gcc-2.95.3 build: ---------------------------------------------------------------------------- ------------------------------- /usr/local/src/gcc-2.95.3-vxWorks/libiberty/vasprintf.c:101: macro `__VA_GP_REGSAVE' used with too many (3) args /usr/local/src/gcc-2.95.3-vxWorks/libiberty/vasprintf.c:101: macro `__VA_GP_REGSAVE' used with too many (3) args /usr/local/src/gcc-2.95.3-vxWorks/libiberty/vasprintf.c:101: macro `__VA_GP_REGSAVE' used with too many (3) args /usr/local/src/gcc-2.95.3-vxWorks/libiberty/vasprintf.c:105: macro `__VA_FP_REGSAVE' used with too many (3) args /usr/local/src/gcc-2.95.3-vxWorks/libiberty/vasprintf.c:105: macro `__VA_GP_REGSAVE' used with too many (3) args /usr/local/src/gcc-2.95.3-vxWorks/libiberty/vasprintf.c:105: macro `__VA_GP_REGSAVE' used with too many (3) args /usr/local/src/gcc-2.95.3-vxWorks/libiberty/vasprintf.c:105: macro `__VA_GP_REGSAVE' used with too many (3) args gmake[1]: *** [vasprintf.o] Error 1 gmake[1]: Leaving directory `/usr/local/obj/gcc2.95.3-ppc/powerpc-wrs-vxworks/libiberty' gmake: *** [all-target-libiberty] Error 2 ---------------------------------------------------------------------------- -------------------------------------- I applied the vxWorks patch as mentioned on your website but still get the above error. Any ideas here? Thanks, ******************************************* Ernest L. Williams Jr. SNS Control Systems Group, ORNL 701 Scarboro Rd., MS 6473 Oak Ridge, TN 37830 Phone 865-241-9071 e-mail: ernesto@ornl.gov Fax 865-241-6739 ****************************************** ----- Original Message ----- From: "David Korn" <dkorn@pixelpower.com> To: "'Ernest L. Williams Jr.'" <ernesto@ornl.gov> Cc: <crossgcc@sources.redhat.com> Sent: Tuesday, October 30, 2001 6:36 AM Subject: RE: Undefined symbols at run time for gcc-2.95.3 > >-----Original Message----- > >From: Ernest L. Williams Jr. [mailto:ernesto@ornl.gov] > >Sent: 30 October 2001 04:02 > > > >Hi Dave, > > > >Still trying to use gcc-2.95.3 with vxWorks headers > >I get some undefined symbols under vxWorks: > >-------------------------------------------------------------- > >Undefined symbol: __start_cp_handler (binding 1 type 0) > >Undefined symbol: __eh_rtime_match (binding 1 type 0) > >Undefined symbol: __eh_alloc (binding 1 type 0) > >value = 28671088 = 0x1b57c70 > >--------------------------------------------------------------- > > > >Dave, have you seen this behavior? What am I missing in terms of > >exception handling? > > Hi Ernest, > > > You progably stil have -nostdlib in your build flags somewhere. You > need to link with libgcc.a, which would be done automatically without > that flag. Alternatively if you aren't actually using the C++ exception > system, you can save a whole load of executable file size and runtime > overhead by specifying -fno-exceptions. > > cheers, > DaveK > -- > Burn your ID card! http://www.optional-identity.org.uk/ > Help support the campaign, copy this into your .sig! > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > > This footnote also confirms that this email message has been swept by > MIMEsweeper for the presence of computer viruses. > > www.mimesweeper.com > ********************************************************************** > ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |