Re: [lfs-support] LFS 7.3 book, 6.17 GCC-4.7.2 -- too many errors after check

2013-07-07 Thread Sergey Shidlovsky

 From: Armin K. kre...@email.com

 Did you stop the build and resumed later, but forgot to mount virtual
 file systems?


Yes, I can't continue the building process to the end without stops and
resumes. And I can't truly remember did I or not all preparations after
resuming, so it worth to check. But, if so, can I just correctly set up my
environment and just recomplie gcc package?

Thanks in advance.

-- 
Yours faithfully,
Sergey N Shidlovsky
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] LFS 7.3 book, 6.17 GCC-4.7.2 -- too many errors after check

2013-07-05 Thread Sergey Shidlovsky
Greetings to all of you! =)

So now I'm trying to build The Might and Mighty gcc-4.7.2 at Chapter 6 of
LFS-7.3 book.
The package compiles without errors, but after I've checked it and had a
look at summary, there was enormous amount of failed test and unexpected
errors. Unfortunately, I can't transfer logfile from the laptop, where LFS
system is building, to this machine, but, for example:

g++ Summary: # of unexpected failures 38364
gcc Summary: # of unexpected failures 53773

These are in no comparison with results on gcc.gnu.org mail archive:

http://gcc.gnu.org/ml/gcc-testresults/2013-04/msg00747.html

I just can't figure what exactly went wrong. I've double checked how did I
set up the environment after stop and resume, it all seems ok...

Thanks in advance.

-- 
Yours faithfully,
Sergey N Shidlovsky
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] lfs-support Digest, Vol 2889, Issue 1

2013-06-25 Thread Sergey Shidlovsky

 From: Molly Jaki? mittens...@gmail.com
 Subject: Re: [lfs-support] Can't set up my timezone correctly

 Look in /etc/sysconfig/clock. My system clock is set to local time, so i
 write UTC=0. If I understand rightly, your system clock is set to UTC, so
 you should write UTC=1 and then the system will adjust appropriately.


Thanks for response!

But should I look for this config in my LFS build or host system?

And no, my system clock is set to local time.

-- 
Yours faithfully,
Sergey N Shidlovsky
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] Getting incorrect search results, mentioned in Errata for section 6.10

2013-06-25 Thread Sergey Shidlovsky
Hi again! =)

One more question, if you please.

While adjusting toolchain, we do such search:

**
echo 'main(){}'  dummy.c
cc dummy.c -v -Wl, --verbose  dummy.log

...

Next, verify that the new linker is being used with the correct search
paths:

grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g'

If everything is working correctly, there should be no errors, and the
output of the last command (allowing for platform-specific target triplets)
will be:

SEARCH_DIR(/tools/i686-pc-linux-gnu/lib)
SEARCH_DIR(/usr/lib)
SEARCH_DIR(/lib);
**

Errata for section 6.10 of LFS 7.3 stable book says that:

**
In Section 6.10, the results of the grep for SEARCH should not include:
SEARCH_DIR(/tools/i686-pc-linux-gnu/lib)
**

But I DO get this string in the output. Is it ok, or something went wrong?

-- 
Yours faithfully,
Sergey N Shidlovsky
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] Can't set up my timezone correctly

2013-06-24 Thread Sergey Shidlovsky
Greetings to all LFS builders!

Now I'm at the beginning of chapter 6. I've successfully built Glibc
package and now I'm configuring it. After locales installation there's a
mention of tzselect script which helps to set up timezone properly. After
answering a few questions I get the following answer:

---
The following information has been given:

Ukraine
most locations

Therefore TZ='Europe/Kiev' will be used.
Local time is now:  Mon Jun 24 23:48:23 EEST 2013.
Universal Time is now:  Mon Jun 24 20:48:23 UTC 2013.
---

The problem is that correct time where I live (Kiev, Ukraine) is that which
mentioned as Universal Time, but not Local time. As I can understand,
Universal Time is the same as Greenwich Meantime. But in my country all
clocks is set at +2 hours to it. Can I fix this issue somehow?

Thanks in advance for answers.

-- 
Yours faithfully,
Sergey N Shidlovsky
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] Can't compile Check-0.9.9 package

2013-06-21 Thread Sergey Shidlovsky
Hello, everybody!

I'm trying to get my firs LFS, based on 7.3 version of The Book.
The host system is Debian Wheezy 7.0 with 3.2.0 kernel. All requirements
for host system were met. The lfs user environments ($LFS variable etc.)
set properly.

Now I'm in the middle of chapter 5 Constructing a Temporary System.
All was okay till package, mentioned in the subject.

First command, ./configure --prefix=/tools goes okay. But when I'm trying
to say next make, I get compilation errors:

---
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -ansi
-pedantic -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings
-Wno-variadic-macros -MT putenv.lo -MD -MP -MF .deps/putenv.Tpo -c
putenv.c  -fPIC -DPIC -o .libs/putenv.o
putenv.c:5:1: error: expected identifier or '(' before '{' token
make[2]: *** [putenv.lo] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/check-0.9.9/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/check-0.9.9'
make: *** [all] Error 2
---

If I'm understanding the problem correctly, there's some error in
lib/putenv.c file. And I've tried to fix it! The mentioned file looked like
this:

---
#include libcompat.h

int
putenv (const char *string CK_ATTRIBUTE_UNUSED);
{
  assert (0);
  return 0;
}
---

There was a semicolon after the function header. I've removed it. After
that compile stage was done properly. Unfortunately, after correct
compilation, make check command failed to pass all the test suites. So I
don't know what to do... and thanks in advance for any advices and
solutions.

-- 
Yours faithfully,
Sergey N Shidlovsky
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] [SOLVED] Can't compile Check-0.9.9 package

2013-06-21 Thread Sergey Shidlovsky

 Doh, second in a week (I guess)

 http://www.linuxfromscratch.org/lfs/errata/7.3/


Shame on me! Just before building had a look at errata, but forgot to look
again while building check package. Thanks a lot to all anwerers. =)

P.S. Excuse me one more time, am I responding to emails correctly, just
quoting the answer to me (I use GMail)? I mean, do everybody see my answer
correctly?

P.P.S. Was so happy that forgot to say make install... =)

-- 
Yours faithfully,
Sergey N Shidlovsky
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page