|
From: Olson, E. <EO...@st...> - 2007-07-13 15:02:51
|
Bikash K Agarwalla <bi...@cc...> har skrive: >gcc -Wno-long-long -o memcheck-x86-linux -static >-Wl,-defsym,valt_load_address=3D0x38000000 -nodefaultlibs -nostartfiles -u >_start -m32 -Wl,-T,../valt_load_address_x86_linux.lds >memcheck_x86_linux-mc_leakcheck.o memcheck_x86_linux-mc_malloc_wrappers.o >memcheck_x86_linux-mc_main.o memcheck_x86_linux-mc_translate.o=20 The -m32 says you are making a 32 bit build, therefore gcc rejects the 64 bit library (can't mix) and 32 bit libgcc isn't found either. Maybe something went wrong in your ./configure? Did you copy the whole valgrind directory from a 32 bit machine and forget to delete the config.cache? Otherwise, there is something wrong with the gcc installation. =20 =20 =20 This transmission contains information for the exclusive use of the = intended recipient and may be privileged, confidential and/or otherwise = protected from disclosure. Any unauthorized review or distribution is = strictly prohibited. Our company is required to retain electronic mail = messages, which may be produced at the request of regulators or in = connection with litigation. Electronic messages cannot be guaranteed to = be secure, timely or error-free. As such, we recommend that you do not = send confidential information to us via electronic mail. This = communication is for informational purposes only and is not an offer or = solicitation to buy or sell any investment product. Any information = regarding specific investment products is subject to change without = notice. If you received this transmission in error, please notify the = sender immediately by return e-mail and delete this message and any = attachments from your system. |
|
From: Bikash K A. <bi...@cc...> - 2007-07-13 17:56:12
|
I didn't copy from 32 bit machine, it was downloaded from valgrind website, and then I used "./configure; make" to build it. Still haven't been able to figure out what the problem is, but the 64 bit machine was found to have a preinstalled valgrind which works - so not critical to resove this issue. Thanks for your input, Bikash On Fri, 13 Jul 2007, Olson, Erik wrote: > Bikash K Agarwalla <bi...@cc...> har skrive: > >gcc -Wno-long-long -o memcheck-x86-linux -static > >-Wl,-defsym,valt_load_address=0x38000000 -nodefaultlibs -nostartfiles > -u >_start -m32 -Wl,-T,../valt_load_address_x86_linux.lds > >memcheck_x86_linux-mc_leakcheck.o > memcheck_x86_linux-mc_malloc_wrappers.o > >memcheck_x86_linux-mc_main.o memcheck_x86_linux-mc_translate.o > > The -m32 says you are making a 32 bit build, therefore gcc rejects the > 64 bit library (can't mix) and 32 bit libgcc isn't found either. Maybe > something went wrong in your ./configure? Did you copy the whole > valgrind directory from a 32 bit machine and forget to delete the > config.cache? Otherwise, there is something wrong with the gcc > installation. > > > > This transmission contains information for the exclusive use of the intended recipient and may be privileged, confidential and/or otherwise protected from disclosure. Any unauthorized review or distribution is strictly prohibited. Our company is required to retain electronic mail messages, which may be produced at the request of regulators or in connection with litigation. Electronic messages cannot be guaranteed to be secure, timely or error-free. As such, we recommend that you do not send confidential information to us via electronic mail. This communication is for informational purposes only and is not an offer or solicitation to buy or sell any investment product. Any information regarding specific investment products is subject to change without notice. If you received this transmission in error, please notify the sender immediately by return e-mail and delete this message and any attachments from your system. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > |
|
From: Tom H. <to...@co...> - 2007-07-15 20:17:43
|
In message <F61...@mk...>
"Olson, Erik" <EO...@st...> wrote:
> Bikash K Agarwalla <bi...@cc...> har skrive:
> >gcc -Wno-long-long -o memcheck-x86-linux -static
> >-Wl,-defsym,valt_load_address=0x38000000 -nodefaultlibs -nostartfiles
> -u >_start -m32 -Wl,-T,../valt_load_address_x86_linux.lds
> >memcheck_x86_linux-mc_leakcheck.o
> memcheck_x86_linux-mc_malloc_wrappers.o
> >memcheck_x86_linux-mc_main.o memcheck_x86_linux-mc_translate.o
>
> The -m32 says you are making a 32 bit build, therefore gcc rejects the
> 64 bit library (can't mix) and 32 bit libgcc isn't found either. Maybe
> something went wrong in your ./configure? Did you copy the whole
> valgrind directory from a 32 bit machine and forget to delete the
> config.cache? Otherwise, there is something wrong with the gcc
> installation.
By default building valgrind on x86_64 builds support for valgrinding
of 32 bit x86 executables as well, which means it needs a 32 bit libgcc
to be installed as well as a 64 bit one.
There is a configure option to ask for a pure 64 bit build if you really
don't want the x86 support.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|