Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fresh install required?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
hampton275
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2002
Posts: 104

PostPosted: Wed Feb 09, 2005 2:01 am    Post subject: Fresh install required? Reply with quote

i am currently running:
Linux ken 2.6.7-gentoo-r14 #8 SMP Thu Nov 25 12:25:52 EST 2004 x86_64 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux
and have ran into some pretty big walls as of late with glibc. I installed about 8 mos ago with 2004.1.
Is it worth the headaches to try nd fix these issues(I am not a programmer), or are there large enough advancements in the Gentoo amd64 build to warrant a fresh install?

Opinions?

TIA
Back to top
View user's profile Send private message
h0g
n00b
n00b


Joined: 01 Apr 2003
Posts: 12

PostPosted: Wed Feb 09, 2005 2:13 am    Post subject: Re: Fresh install required? Reply with quote

Can we have some more details about these issues? What is making you think that it's glibc?[/quote]
Back to top
View user's profile Send private message
hampton275
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2002
Posts: 104

PostPosted: Wed Feb 09, 2005 2:22 am    Post subject: Reply with quote

I made 2 posts. One in Portage, here:

https://forums.gentoo.org/viewtopic.php?t=291719

and another here in this forum;

https://forums.gentoo.org/viewtopic.php?t=288341

If you have any ideas, I would very much appreciate it.

Again, TIA for any suggestions

PS Trus me I have looked.
Back to top
View user's profile Send private message
slackerman
n00b
n00b


Joined: 22 Feb 2004
Posts: 72
Location: Palo Alto, CA

PostPosted: Wed Feb 09, 2005 5:09 am    Post subject: What's in your failed config.log? Reply with quote

I had some rather nasty issues when upgrading to 2005.0. My "solution" to my issues was to manually include some paths for GCC using the GCC_INCLUDE_PATH and/or C_INCLUDE_PATH environment variable.

I then re-emerged glibc and have been a happy camper ever since...

Please do post the relevant parts of your config.log. That's the next logical debug step.

- slackerman
Back to top
View user's profile Send private message
hampton275
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2002
Posts: 104

PostPosted: Wed Feb 09, 2005 8:55 pm    Post subject: Reply with quote

ok, i'll bite. Where is the config log????

Checking size of long double... configure: error: cannot compute sizeof (long double), 77
See `config.log' for more details.

!!! ERROR: sys-libs/glibc-2.3.4.20041102 failed.
!!! Function glibc_do_configure, Line 704, Exitcode 1
!!! failed to configure glibc
!!! If you need support, post the topmost build error, NOT this status message.

ken root # updatedb
ken root # locate config.log
/root/ipaudit-web-1.0BETA9/compile/config.log
/root/ripperX-2.4/src/config.log
/root/ripperX-2.4/plugins/config.log
/root/ripperX-2.4/config.log
/root/kaudiocreator/config.log
/root/gtkpod-0.80-2/config.log
/root/krename-3.0.2/config.log
Back to top
View user's profile Send private message
Trevoke
Advocate
Advocate


Joined: 04 Sep 2004
Posts: 4099
Location: NY, NY

PostPosted: Wed Feb 09, 2005 8:58 pm    Post subject: Reply with quote

in the temporary folder where the program was being compiled.
so something like /tmp/portage/prog ...
_________________
Votre moment detente
What is the nature of conflict?
Back to top
View user's profile Send private message
hampton275
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2002
Posts: 104

PostPosted: Wed Feb 09, 2005 9:42 pm    Post subject: Reply with quote

Is this help???
/var/tmp/portage/glibc-2.3.4.20041102/work/build-x86-i686-pc-linux-gnu-linuxthreads/config.log

#define HAVE_VISIBILITY_ATTRIBUTE 1
#define HAVE_Z_COMBRELOC 1
#define HAVE_Z_RELRO 1
#define NO_UNDERSCORES 1
#define PACKAGE_BUGREPORT "glibc"
#define PACKAGE_NAME "GNU C Library"
#define PACKAGE_STRING "GNU C Library (see version.h)"
#define PACKAGE_TARNAME "c-library"
#define PACKAGE_VERSION "(see version.h)"
#define USE_REGPARMS 1
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 1
Back to top
View user's profile Send private message
slackerman
n00b
n00b


Joined: 22 Feb 2004
Posts: 72
Location: Palo Alto, CA

PostPosted: Thu Feb 10, 2005 5:50 am    Post subject: That's it? Reply with quote

I would have expected a larger and more informative config.log.....

Generally, the ./configure script builds a whole bunch of sample/test programs to determine the capabilities of the system it's "configuring" a Makefile for. You should have something in this config.log file which tells you, explicitly, what simple C program failed....during the sizeof computation.

You should be able to copy that code out of your log file, compile it yourself and see if you can reproduce the same error. If so, try to determine why.....and, if you can fix it there, you can fix it during ./configure.

If you get the actual C code out of your config.log, please post it and I can compile it here and tell you _how_ it compiled, successfully, on my machine.

Regards,

- slackerman

P.S.: You aren't using distcc are you???
Back to top
View user's profile Send private message
hampton275
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2002
Posts: 104

PostPosted: Thu Feb 10, 2005 1:27 pm    Post subject: Reply with quote

I put the whole log here;
https://www.shreddies.ca/config.log

This is from the question you asked me about distcc:

# emerge -pv distcc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild R ] sys-devel/distcc-2.18.3-r2 -debug -gnome +gtk +ipv6 (-selinux) 0 kB

Total size of downloads: 0 kB

Thanks for the assistance
Back to top
View user's profile Send private message
slackerman
n00b
n00b


Joined: 22 Feb 2004
Posts: 72
Location: Palo Alto, CA

PostPosted: Thu Feb 10, 2005 3:04 pm    Post subject: Missing libgcc... Reply with quote

Are you really using gcc-3.3.4? I would expect that you would be using 3.4.3. Here's a dump of the relevant/failing section of your config.log:

Code:
configure:7128: checking size of long double
configure:7447: x86_64-pc-linux-gnu-gcc -o conftest -freorder-blocks -finline-limit=2000 -O2   conftest.c  >&5
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/./libgcc.a when searching for -lgcc
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/libgcc.a when searching for -lgcc
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status
configure:7450: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define USE_REGPARMS 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define ASM_GLOBAL_DIRECTIVE .globl
| #define HAVE_ASM_SET_DIRECTIVE 1
| #define ASM_TYPE_DIRECTIVE_PREFIX @
| #define DO_VERSIONING 1
| #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
| #define HAVE_PROTECTED 1
| #define HAVE_HIDDEN 1
| #define HAVE_VISIBILITY_ATTRIBUTE 1
| #define HAVE_INITFINI_ARRAY 1
| #define HAVE_Z_RELRO 1
| #define HAVE_Z_COMBRELOC 1
| #define NO_UNDERSCORES 1
| #define HAVE_ASM_WEAK_DIRECTIVE 1
| #define HAVE_ASM_CFI_DIRECTIVES 1
| #define HAVE_CPP_ASM_DEBUGINFO 1
| #define HAVE_BUILTIN_REDIRECTION 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| #  include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| long longval () { return (long) (sizeof (long double)); }
| unsigned long ulongval () { return (long) (sizeof (long double)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
|
|   FILE *f = fopen ("conftest.val", "w");
|   if (! f)
|     exit (1);
|   if (((long) (sizeof (long double))) < 0)
|     {
|       long i = longval ();
|       if (i != ((long) (sizeof (long double))))
|    exit (1);
|       fprintf (f, "%ld\n", i);
|     }
|   else
|     {
|       unsigned long i = ulongval ();
|       if (i != ((long) (sizeof (long double))))
|    exit (1);
|       fprintf (f, "%lu\n", i);
|     }
|   exit (ferror (f) || fclose (f) != 0);
|
|   ;
|   return 0;
| }
configure:7465: error: cannot compute sizeof (long double), 77
See `config.log' for more details.


I am using 3.4.3.20050110, along with gcc-config 1.3.10-r1. Whatever your issue is, it has to do with gcc configuration. What does the output of 'gcc-config -l' return, for you? Here's mine:

Code:
[1] x86_64-pc-linux-gnu-3.3.3
[2] x86_64-pc-linux-gnu-3.4.3 *
[3] x86_64-pc-linux-gnu-3.4.3-hardened
[4] x86_64-pc-linux-gnu-3.4.3-hardenednopie
[5] x86_64-pc-linux-gnu-3.4.3-hardenednossp


The one with the asterisk is the one that I'm currently using. At least this gives you a lot more information!

Cheers,

- slackerman
Back to top
View user's profile Send private message
hampton275
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2002
Posts: 104

PostPosted: Thu Feb 10, 2005 6:25 pm    Post subject: Reply with quote

ken@ken ken $ gcc-config -l
[1] x86_64-pc-linux-gnu-3.3.4
[2] x86_64-pc-linux-gnu-3.4.3 *
[3] x86_64-pc-linux-gnu-3.4.3-hardened
[4] x86_64-pc-linux-gnu-3.4.3-hardenednopie
[5] x86_64-pc-linux-gnu-3.4.3-hardenednossp
Back to top
View user's profile Send private message
hampton275
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2002
Posts: 104

PostPosted: Thu Feb 10, 2005 7:11 pm    Post subject: Reply with quote

I tried to compile the version you quoted and all went great. After that glibc went without a hitch. Thanks for saving me a tonne of work.

Thanks for the assistance
Back to top
View user's profile Send private message
slackerman
n00b
n00b


Joined: 22 Feb 2004
Posts: 72
Location: Palo Alto, CA

PostPosted: Fri Feb 11, 2005 4:17 am    Post subject: I won't say "anytime".... Reply with quote

but I'm usually up for helping people with these sorts of issues... :-)

Glad I could be of help!

Cheers,

- the slackerman
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum