osdir.com
mailing list archive

Subject: Re: new in list - msg#00201

List: lib.uclibc.general

Date: Prev Next Index Thread: Prev Next Index
On Tue Mar 30, 2004 at 08:13:19AM +0000, Rafael Diniz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Em Ter 30 Mar 2004 07:42, Marcin Bukat escreveu:
> > > On Tue Mar 30, 2004 at 05:15:43AM +0000, Rafael Diniz wrote:
> > >>>>After that, I tried to boot in the system that I made, but a lot of
> > >>>>programs, like ps, just got Segmentation Fault, and some like mount,
> > >>>> just return to shell, doing nothing. I'm using uClibc from CVS.
> > >>>>ldd just says that the executables are not ELF binaries...
> > >>>>I made nothing to debug or see whats going wrong yet.
> > >>>>Any suggestion?
> >
> > When I was building my tiny system I've hit exacly the same problem. The
> > solution was to change maloc implementation in uClibc config. Maby You
> > are in the very the same situation.
>
> What malloc implementation do you recommend?
> I'm using the "MALLOC" implementation:

I recommend using MALLOC_STANDARD for i386....

-Erik

--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
_______________________________________________
uClibc mailing list
uClibc@xxxxxxxxxx
http://codepoet.org/mailman/listinfo/uclibc
Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: new in list

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Em Ter 30 Mar 2004 07:42, Marcin Bukat escreveu: > > On Tue Mar 30, 2004 at 05:15:43AM +0000, Rafael Diniz wrote: > >>>>After that, I tried to boot in the system that I made, but a lot of > >>>>programs, like ps, just got Segmentation Fault, and some like mount, > >>>> just return to shell, doing nothing. I'm using uClibc from CVS. > >>>>ldd just says that the executables are not ELF binaries... > >>>>I made nothing to debug or see whats going wrong yet. > >>>>Any suggestion? > > When I was building my tiny system I've hit exacly the same problem. The > solution was to change maloc implementation in uClibc config. Maby You > are in the very the same situation. What malloc implementation do you recommend? I'm using the "MALLOC" implementation: # # General Library Settings # # HAVE_NO_PIC is not set DOPIC=y # HAVE_NO_SHARED is not set HAVE_SHARED=y # ARCH_HAS_NO_LDSO is not set BUILD_UCLIBC_LDSO=y # UCLIBC_PIE_SUPPORT is not set LDSO_LDD_SUPPORT=y UCLIBC_CTOR_DTOR=y # UCLIBC_PROPOLICE is not set # UCLIBC_PROFILING is not set # HAS_NO_THREADS is not set UCLIBC_HAS_THREADS=y PTHREADS_DEBUG_SUPPORT=y UCLIBC_HAS_LFS=y MALLOC=y # MALLOC_SIMPLE is not set # MALLOC_STANDARD is not set MALLOC_GLIBC_COMPAT=y UCLIBC_DYNAMIC_ATEXIT=y HAS_SHADOW=y UNIX98PTY_ONLY=y ASSUME_DEVPTS=y UCLIBC_HAS_TM_EXTENSIONS=y UCLIBC_HAS_TZ_CACHING=y UCLIBC_HAS_TZ_FILE=y UCLIBC_HAS_TZ_FILE_READ_MANY=y UCLIBC_TZ_FILE_PATH="/etc/TZ" Bye, Rafael Diniz - -- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Engenharia da Computação -- Unicamp http://www.gnu.org/philosophy/why-free.pt.html Usuário do sistema operacional GNU/Linux Chave PGP: id 0x2FF86098 / keys.indymedia.org "Acreditar num conhecimento que pode ser vendido e comprado é uma forma sutil (e cruel) de perpetuar a ignorância." +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFAaSwioZ5YIC/4YJgRAlNKAJ9RT8WuDM5/XBeOneqEfSUPFIlStwCbBxNf p0CKj+KsdKcj8whWxLByJ+0= =q7Qc -----END PGP SIGNATURE-----

Next Message by Date: click to view message preview

Re: What about a C++ compiler?

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Erik Andersen wrote: | On Mon Mar 29, 2004 at 06:55:51PM +0200, Federico Munerotto wrote: | |>-----BEGIN PGP SIGNED MESSAGE----- |>Hash: SHA1 |> |>I was trying exceptions in the buildroot with a simple sample program |>(10 lines, hello.cpp) but compiling in the buildroot I get:: |> |># g++ -o hello hello.cpp |>/bin/sh: g++: not found |> |>I think that I have to add something to the builroot's Makefile to |>dowmload and compile the g++ in the builroot. How do I do that? Is it |>enogh if I compile in the buildroot dir as an application? | | | Make sure that you have | GCC_USE_SJLJ_EXCEPTIONS:=--enable-sjlj-exceptions | INSTALL_LIBSTDCPP:=true | and also make sure that | TARGETS+=gcc3_3_target | is set. | | -Erik | Thanks. The last setting was commeted. I recompile. - -- Fede - ------------------------------------------------------------------------- ~ mune at ieee.org Ing. Federico Munerotto ~ home http://www.krl.it/~mune public key http://www.keyserver.net key ID BF2C1748 - ------------------------------------------------------------------------- You are not dead yet. But watch for further reports. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFAaUlm5QGboL8sF0gRAns6AJ4k30xwDX1RpeOYAdSJHgbdyw/9bACgh0tA v+x1I7E5TchGFpYJdqqG2OQ= =UcZ4 -----END PGP SIGNATURE----- _______________________________________________ uClibc mailing list uClibc@xxxxxxxxxx http://codepoet.org/mailman/listinfo/uclibc

Previous Message by Thread: click to view message preview

Re: new in list

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Em Ter 30 Mar 2004 07:42, Marcin Bukat escreveu: > > On Tue Mar 30, 2004 at 05:15:43AM +0000, Rafael Diniz wrote: > >>>>After that, I tried to boot in the system that I made, but a lot of > >>>>programs, like ps, just got Segmentation Fault, and some like mount, > >>>> just return to shell, doing nothing. I'm using uClibc from CVS. > >>>>ldd just says that the executables are not ELF binaries... > >>>>I made nothing to debug or see whats going wrong yet. > >>>>Any suggestion? > > When I was building my tiny system I've hit exacly the same problem. The > solution was to change maloc implementation in uClibc config. Maby You > are in the very the same situation. What malloc implementation do you recommend? I'm using the "MALLOC" implementation: # # General Library Settings # # HAVE_NO_PIC is not set DOPIC=y # HAVE_NO_SHARED is not set HAVE_SHARED=y # ARCH_HAS_NO_LDSO is not set BUILD_UCLIBC_LDSO=y # UCLIBC_PIE_SUPPORT is not set LDSO_LDD_SUPPORT=y UCLIBC_CTOR_DTOR=y # UCLIBC_PROPOLICE is not set # UCLIBC_PROFILING is not set # HAS_NO_THREADS is not set UCLIBC_HAS_THREADS=y PTHREADS_DEBUG_SUPPORT=y UCLIBC_HAS_LFS=y MALLOC=y # MALLOC_SIMPLE is not set # MALLOC_STANDARD is not set MALLOC_GLIBC_COMPAT=y UCLIBC_DYNAMIC_ATEXIT=y HAS_SHADOW=y UNIX98PTY_ONLY=y ASSUME_DEVPTS=y UCLIBC_HAS_TM_EXTENSIONS=y UCLIBC_HAS_TZ_CACHING=y UCLIBC_HAS_TZ_FILE=y UCLIBC_HAS_TZ_FILE_READ_MANY=y UCLIBC_TZ_FILE_PATH="/etc/TZ" Bye, Rafael Diniz - -- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Engenharia da Computação -- Unicamp http://www.gnu.org/philosophy/why-free.pt.html Usuário do sistema operacional GNU/Linux Chave PGP: id 0x2FF86098 / keys.indymedia.org "Acreditar num conhecimento que pode ser vendido e comprado é uma forma sutil (e cruel) de perpetuar a ignorância." +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFAaSwioZ5YIC/4YJgRAlNKAJ9RT8WuDM5/XBeOneqEfSUPFIlStwCbBxNf p0CKj+KsdKcj8whWxLByJ+0= =q7Qc -----END PGP SIGNATURE-----

Next Message by Thread: click to view message preview

Re: new in list

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Em Ter 30 Mar 2004 10:15, Erik Andersen escreveu: > On Tue Mar 30, 2004 at 08:13:19AM +0000, Rafael Diniz wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Em Ter 30 Mar 2004 07:42, Marcin Bukat escreveu: > > > > On Tue Mar 30, 2004 at 05:15:43AM +0000, Rafael Diniz wrote: > > > >>>>After that, I tried to boot in the system that I made, but a lot of > > > >>>>programs, like ps, just got Segmentation Fault, and some like > > > >>>> mount, just return to shell, doing nothing. I'm using uClibc from > > > >>>> CVS. ldd just says that the executables are not ELF binaries... I > > > >>>> made nothing to debug or see whats going wrong yet. > > > >>>>Any suggestion? > > > > > > When I was building my tiny system I've hit exacly the same problem. > > > The solution was to change maloc implementation in uClibc config. Maby > > > You are in the very the same situation. > > > > What malloc implementation do you recommend? > > I'm using the "MALLOC" implementation: > > I recommend using MALLOC_STANDARD for i386.... OK, I'll recompile things using MALLOC_STANDARD. How about the other features? I think that my need is to keep the most glibc compat options enabled, right? The interesting is that the executables produced by the working buildroot does not generate working executables :-P I'll try again now. Thanx a lot! Rafael Diniz - -- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Engenharia da Computação -- Unicamp http://www.gnu.org/philosophy/why-free.pt.html Usuário do sistema operacional GNU/Linux Chave PGP: id 0x2FF86098 / keys.indymedia.org "Acreditar num conhecimento que pode ser vendido e comprado é uma forma sutil (e cruel) de perpetuar a ignorância." +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFAaY/aoZ5YIC/4YJgRAu7NAJoCMj7nHa9rYrdsPK85B3kjp+sxlACdEVBN +3qHrT/yYA7tEOgvRO0tAU8= =I8dj -----END PGP SIGNATURE-----
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by