Re: [lfs-support] LFS translation to Ancient Greek completed

2021-04-02 Thread Michele Bucca
Il giorno gio 1 apr 2021 alle ore 20:38 Alex Johns 
ha scritto:

> On 1/04/21 11:32 pm, Rob Hudson wrote:
> > Tim Tassonis  wrote:
> > It took me a while, but I now finally completed my translation of the
> > LFS book into Ancient Greek. It is based on LFS 10.0, and only the sysv
> > version is done yet, Systemd is still pending due to ancient greek only
> > having capital letters.
> >
> >
> > Ha. Very good.
> > You actually did have me going there, for a while.
> >
> Me too!
>

Same here, lol

> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] Building temporary system: difference between GCC PASS 2 in LFS 9.1 and 10.0

2020-09-30 Thread Michele Bucca
Hello There

I was wondering what was the difference between the build process of GCC
PASS 2 in version 9.1 and version 10.0 when we build the temporary tools.

../configure   \
--build=$(../config.guess) \
--host=$LFS_TGT\
--prefix=/usr  \
CC_FOR_TARGET=$LFS_TGT-gcc \
--with-build-sysroot=$LFS  \
--enable-initfini-array\
--disable-nls  \
--disable-multilib \
--disable-decimal-float\
--disable-libatomic\
--disable-libgomp  \
--disable-libquadmath  \
--disable-libssp   \
--disable-libvtv   \
--disable-libstdcxx\
--enable-languages=c,c++

I know that in version 9.1 we did a native build of GCC using the
cross-compiler, but why in version 10.0 were disabled a lot of libraries
like *libstdcxx*? Why that library is only built later inside a chroot?
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] LFS 9.1-systemd, stuck in Chapter 6.73 - Installing Systemd-244

2020-03-08 Thread Michele Bucca
Il dom 8 mar 2020, 20:06 Christos Kompogiannis 
ha scritto:

> I've followed the book's instructions closely and everything has gone
> pretty smoothly so far, but no matter how many times I've tried it,
> Systemd-244's compilation always fails. Ninja proceeds normally from
> steps 0 to [242/1444] then I get a bunch of -Wredundant-decls warnings
> from src files and finally Ninja aborts with the message "ninja: build
> stopped: subcommand failed." The attached file shows the only actuall
> error ninja encountered, approximately in the middle of the warnings.
>
> I'd appreciate any sort of help because I feel really lost and I'd be
> glad to offer more info that's deemed necessary.
>
>

in the Screenshot I can see that the compiler tries to access
> /tools/include. I don't think this should happen.


- Michele


Thanks in advance.
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] compile 32-bit kernel on a 64-bit LFS?

2019-12-11 Thread Michele Bucca
Il mer 11 dic 2019, 15:33 Thomas Seeling  ha
scritto:

> Hallo,
>
>
> I have some servers running with 32-bit LFS (intentionally). Longterm I
> plan to switch to 64 bit, but not right now. I'm contemplating switching
> the kernel compile from a 32-bit machine to one of my 64-bit systems to
> win some time. The 32-bit P4 compile machine takes ~100 minutes for a
> new kernel while the 64-bit i5 only needs ~25 minutes to build a new
> kernel.
>
> Would a 32-bit kernel work if I compile it on a 64-bit machine with the
> 32-bit config taken from the current compile system? Do I need some
> additional parameters or switches to signal that it's kind of a
> cross-compile for another CPU?
>

On the 64 bit build system unpack the source code of the kernel, move
inside its directory and run:

make i386_defconfig
make menu config (to customize the kernel)

and at last: make

>
> Tschau...Thomas
> --
> Do you wanna be a legend or a passing footprint on the sands of time?
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Building a Computer for LFS. What Components do you suggest?

2019-10-03 Thread Michele Bucca
Il ven 4 ott 2019, 00:49 Bruce Dubbs  ha scritto:

> On 10/3/19 4:01 PM, Pierre Labastie wrote:
> > On 03/10/2019 17:35, Michele Bucca wrote:
> >>
> >>
> >> Il gio 3 ott 2019, 17:18 Bruce Dubbs  >> <mailto:bruce.du...@gmail.com>> ha scritto:
> >>
> >>  On 10/3/19 5:33 AM, Xi Ruoyao wrote:
> >>
> >>  > Then you need a powerful CPU and just a normal (maybe integrated)
> >>  graphic card.
> >>  > A recent Intel Core i5/i7 (with a integrated graphic card)
> should be OK,
> >>  or use
> >>  > an AMD Zen 2 with a low-end AMD graphic card (NVIDIA card sucks
> on desktop
> >>  > Linux).
> >>
> >>  Not all nvidia cards are bad.  I have a GeForce 210 and it works
> quite
> >>  well for me.
> >>
> >>  That said, I'd recommend an Intel I5 with integrated graphics.  It
> >>  doesn't have to be the latest model.  If cost is an issue, look at
> the
> >>  used market.
> >>
> >>
> >> I've found some links on Aliexpress, can I post them here?
> >
> > I think it is better if we send you our config. Mine is:
> > CPU: intel core i7 -4790 at 3.6 GHz (integrated graphics)
> > motherboard: Asus H97M-E.
> > memory : 4x4 GB DDR3 1333 Mhz.
> >
> > I have an Antec box which came with its own power supply. I do not know
> the
> > exact model, amazingly, it's not written on the box.
> >
> > My screen is a Samsung SMBX2335 (23", 1920x1080 pixels), quite old, but
> > largely enough for me. It has no hdmi, so using it on modern computers
> may be
> > impossible (I use the DVI connector).
> >
> > Two disks 1TB each (one is enough, but I'm doing raid0).
> > One is "Western Digital Caviar Green" WDC WD10EADS-65M2B0
> > the second is "Western Digital Blue" WDC WD10EZEX-08M2NA0
> >
> > With this, the SBU is ~110 s. The CPU is quad core with hyperthreading,
> make
> > -j4 gives a SBU of roughly 40s, while make -j8 is just slightly better
> (SBU ~
> > 35 s). I think that when the 4 cores are used, the gain is almost a
> factor of
> > 4, but in the SBU, there are several configure runs, which use only one
> core.
>
> On my i5-6500 workstation my SBU time is 36 seconds.  If course that's
> at -j4.  I generally run my Haswell at -j10 if I'm not timing for the
> book and that is about 25 seconds.
>
> For a non-editor the times with all or most cores probably is more
> meaningful.
>
>-- Bruce
>-- Bruce

I found this CPU on Aliexpress

https://m.it.aliexpress.com/item/32981880280.html?spm=a2g0n.shopcart-amp.item.32981880280;

and this Mother Board on Aliexpress

https://m.it.aliexpress.com/item/32850389075.html?spm=a2g0n.shopcart-amp.item.32850389075;

would you spend money on them? Do you trust Aliexpress?

-- 
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Building a Computer for LFS. What Components do you suggest?

2019-10-03 Thread Michele Bucca
Il gio 3 ott 2019, 17:18 Bruce Dubbs  ha scritto:

> On 10/3/19 5:33 AM, Xi Ruoyao wrote:
>
> > Then you need a powerful CPU and just a normal (maybe integrated)
> graphic card.
> > A recent Intel Core i5/i7 (with a integrated graphic card) should be OK,
> or use
> > an AMD Zen 2 with a low-end AMD graphic card (NVIDIA card sucks on
> desktop
> > Linux).
>
> Not all nvidia cards are bad.  I have a GeForce 210 and it works quite
> well for me.
>
> That said, I'd recommend an Intel I5 with integrated graphics.  It
> doesn't have to be the latest model.  If cost is an issue, look at the
> used market.
>

I've found some links on Aliexpress, can I post them here?


>-- Bruce
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Building a Computer for LFS. What Components do you suggest?

2019-10-03 Thread Michele Bucca
Il giorno gio 3 ott 2019 alle ore 10:34 Michele Bucca
 ha scritto:
>
> Hello There,
> I'm a university student and I currently don't have a job. I'm saving
> money because I would like to build a computer from scratch. I love
> computers and I want to learn as much as possible. I think that
> assembling a computer could be an interesting learning experience.
>
> Here's the question: What is a CPU that you would recommend? If
> possible can you include the SBU of that CPU? I currently own a laptop
> with a Celeron N2840 and the SBU is 7 minutes. Linux From Scratch has
> taught me a lot and I would like to run it as my main operating
> system. What are the CPUs that you suggest? Once I tried to compile
> bionic libc from AOSP and it caused my PC to lag terribly because of
> soong's bootstrap. it kept creating children with the same command
> line arguments that were apparently doing the same thing  eating all
> my RAM (4GB) and forced my  PC to use swap. Building LLVM and CLANG
> with ninja also makes my PC really slow and the process takes hours.
> It's worse than GCC from this point of view.
>
> I'm not an hardcore gamer, as a matter of fact I don't game very
> often. I usually run GBA emulators, NES Emulators, Minecraft and so
> on. I don't care of getting hundreds of FPS. All I need is to be able
> to watch 1080p60 Videos on youtube without lag.
>
> Compiling Speed is important to me. Also If you want, you can give me
> suggestions on other important pieces like the Power Supply or a
> Monitor. I don't have one yet. If I could I would go without one and
> control the PC using ssh from the LAN. Do you know how to do that?
> Sorry if I'm off-topic.
>
Yes, I'm off-topic. I forwarded the previous e-mail to lfs-chat, if
you want you can answer there
Cheers
Michele Bucca
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] Building a Computer for LFS. What Components do you suggest?

2019-10-03 Thread Michele Bucca
Hello There,
I'm a university student and I currently don't have a job. I'm saving
money because I would like to build a computer from scratch. I love
computers and I want to learn as much as possible. I think that
assembling a computer could be an interesting learning experience.

Here's the question: What is a CPU that you would recommend? If
possible can you include the SBU of that CPU? I currently own a laptop
with a Celeron N2840 and the SBU is 7 minutes. Linux From Scratch has
taught me a lot and I would like to run it as my main operating
system. What are the CPUs that you suggest? Once I tried to compile
bionic libc from AOSP and it caused my PC to lag terribly because of
soong's bootstrap. it kept creating children with the same command
line arguments that were apparently doing the same thing  eating all
my RAM (4GB) and forced my  PC to use swap. Building LLVM and CLANG
with ninja also makes my PC really slow and the process takes hours.
It's worse than GCC from this point of view.

I'm not an hardcore gamer, as a matter of fact I don't game very
often. I usually run GBA emulators, NES Emulators, Minecraft and so
on. I don't care of getting hundreds of FPS. All I need is to be able
to watch 1080p60 Videos on youtube without lag.

Compiling Speed is important to me. Also If you want, you can give me
suggestions on other important pieces like the Power Supply or a
Monitor. I don't have one yet. If I could I would go without one and
control the PC using ssh from the LAN. Do you know how to do that?
Sorry if I'm off-topic.

Cheers
Michele Bucca
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Gcc Compiling Problem in 32 bit

2019-09-28 Thread Michele Bucca
Hello There

I've been reading this topic for a lot of time and I would like to
give some tips.

Il sab 28 set 2019, 09:07 Paul Rogers  ha scritto:
>
> > Secondly, for others and not so much for You..
> > I got GCC and (so far) Glibc to compile, I still need to do the check
> > to make sure it built it correctly..
>
> I'm assuming you're still on your new DELL?  I'm afraid that test will lie to 
> you.  Because your CPU has SSSEx instructions, the test will run on the Dell, 
> but that code cannot run on an i586.
>
> In recent times I tried to build both LFS-6.1.1 for an i586 and LFS-7.2 for 
> an i686, on an i7 and Core2 Duo.  The promise of building on a 4-core 
> hyperthreaded 2+ GHz system is a cruel illusion.  In the end, I built both on 
> the target CPU.
>
> Yes, it is supposedly possible to have GMP build generic code.  I've tried, 
> and it just wasted more time than it would have taken to build from scratch 
> on the target CPU.


Why don't we use a cross-compiler? I suggest to make a cross-compiler
for i586-linux-gnu and use that to build the temporary system. I can
create a guide for that.

> > That fixed my problem.. It just checked out..
>
> On your i586, or the Dell?  How do you know it "checked out"?
>
> > Now, Paul what do I after I have my 586 out, it has a DVD , no floppy,
> > but it could be added, I have Linux Mint all the way back to 3.X except
> > for 4.X up to Linux Mint 18.3..
>
> Add the floppy.  Go back to a CDROM drive, I doubt an i586 can keep up with a 
> DVD.  Install one of your 32-bit Mints for a host system, or use the LFS Live 
> CD.  Then start installing LFS-6.{1-3} from scratch, i.e. Ch 4, on the i586.  
> (Some bits of what you built on the Dell might be usable, but IMO it's just 
> not worth the waste of time getting to the end and seeing it crash with an 
> illegal instruction and THEN starting over.)
>
> > I have tried Linux Mint and the only versions that will talk to the
> > Internet are 17.1 up to 18.3..
>
> As I said, I run (B)LFS-7.2 on a 1GHz Pentium-iii Coppermine every day and it 
> chokes on modern websites with lots of images and javascript.  I get a lot of 
> Google javascripts that stop responding and timeout.  Don't expect an i586 
> and the Firefox-2.0.0.16 to do even that well.  A third generation 
> Pentium-MMX runs at 233MHz, a tenth or less of modern CPUs.  Also, LFS-6.1 is 
> going to be running a 2.6 kernel, more ot less (2.6.17 on mine),



The Linux kernel can run on a CPU as old as a 486. You can check this
by unpacking the most recent kernel and running 'make menuconfig'

There deselect the option "64-bit kernel", go to "Professor type and
features" and finally check "Processor Family"

Someone has installed Gentoo on a 486 computer. More info here:
http://yeokhengmeng.com/2018/01/make-the-486-great-again/

> and you should think twice about allowing that on the internet without armed 
> guards.
>
> > I have no idea about building foxfire and how to do that,
>
> Follow the BLFS instructions.
>
> > I will get a little further on my Dell Machine and then put it away,
> > and get out the 586..
>
> Don't bother!  You have to throw away anything you built on the DELL.
>
> If you're going to keep at this you'll need to put your mindset back to the 
> late 90's and forget everything that happened in the last 20 years!  (Except 
> how many critical security flaws have been found in the kernel and other FOSS 
> since, e.g. ShellShock, HeartBleed, and Ghost.)  You'll be making a 20 
> year-old system on 20 year-old hardware, about equivalent to driving a horse 
> and buggy on an Interstate Highway in a war zone!  But don't let that stop 
> you.
>
>
> --
> Paul Rogers
> paulgrog...@fastmail.fm
> Rogers' Second Law: "Everything you do communicates."
> (I do not personally endorse any additions after this line. TANSTAAFL :-)
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] What the heck do I have to do to get this to JUST WORK?!?!

2018-12-30 Thread Michele Bucca
Il 28 dic 2018 4:23 AM, "Kent Cooper"  ha scritto:

Hi all,

Getting rather frustrated as I've been trying to build my first LFS system
for over a week now!

The instructions in the book are pretty straight forward, yet following
them to the letter has gotten me absolutely nowhere after countless retries.

At first I had weird permission problems at every turn because my
/etc/fstab was mounting my LFS partition with the noexec flag for some
ridiculous reason.
Then it was Glibc-2.28 refusing to build for god-only-knows what reason.
Now I seem to be past those issues after several complete restarts, but
make is
complaining about some undeclared identifiers in
libgcc/config/i386/cpuinfo.c.

So now I'm on chapter 5.10 of book version 8.3, trying to build the second
pass of GCC but I keep running into the same errors after 3 complete
restarts. I can
get up to 5.9 without a hitch, but there is one major thing I don't
understand:

Is it imperative to delete $LFS/sources/gcc-8.2.0 after completing chapter
5.8? Or should it be left there so that libstdc++-v3 doesn't need to be
recompiled?

If I delete it, I get roughly 1.5 hours into chapter 5.10 before I
encounter the same problem described here

:

> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for x86_64-pc-linux-gnu-gcc... /mnt/lfs/sources/gcc-8.2.0/gcc/xgcc 
> -B/mnt/lfs/sources/gcc-8.2.0/gcc/ -B/tools/x86_64-pc-linux-gnu/bin/ 
> -B/tools/x86_64-pc-linux-gnu/lib/ -isystem /tools/x86_64-pc-linux-gnu/include 
> -isystem /tools/x86_64-pc-linux-gnu/sys-include
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... configure: error: in 
> `/mnt/lfs/sources/gcc-8.2.0/build/x86_64-pc-linux-gnu/libstdc++-v3':
> configure: error: cannot run C compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details.
> make[1]: *** [configure-target-libstdc++-v3] Error 1
> make[1]: Leaving directory `/mnt/lfs/sources/gcc-8.2.0/build'
> make: *** [all] Error 2

What architecture is your host? is your system 32bit or 64bit?

try to run this


echo "int main(){}" > dummy.c
$TGT_LFS-gcc dummy.c
readelf -l a.out | grep ': /tools'

what is the output?

 If I don't delete '/mnt/minlinux/sources/gcc-8.2.0' after 5.8, then once
again I get roughly 1.5 hours into 5.10 before hitting the following:

Checking multilib configuration for libgcc...
make[2]: Entering directory
'/mnt/minlinux/sources/gcc-8.2.0/build/x86_64-lfs-linux-gnu/libgcc'
# If this is the top-level multilib, build all the other
# multilibs.
cc   -g -O2 -O2  -g -O2 -DIN_GCC-W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include   -fpic -mlong-double-80
-DUSE_ELF_SYMVER  -g -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector   -fpic -mlong-double-80 -DUSE_ELF_SYMVER  -I.
-I. -I../.././gcc -I../../../libgcc -I../../../libgcc/.
-I../../../libgcc/../gcc -I../../../libgcc/../include
-I../../../libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT
-DHAVE_CC_TLS  -DUSE_TLS -o cpuinfo.o -MT cpuinfo.o -MD -MP -MF
cpuinfo.dep  -c ../../../libgcc/config/i386/cpuinfo.c
-fvisibility=hidden -DHIDE_EXPORTS
../../../libgcc/config/i386/cpuinfo.c: In function 'get_available_features':
../../../libgcc/config/i386/cpuinfo.c:353:14: error: 'bit_AVX512VBMI2'
undeclared (first use in this function); did you mean
'bit_AVX512VBMI'?
if (ecx & bit_AVX512VBMI2)
  ^~~~ VM~~~
  bit_AVX512VBMI
../../../libgcc/config/i386/cpuinfo.c:353:14: note: each undeclared
identifier is reported only once for each function it appears in
../../../libgcc/config/i386/cpuinfo.c:355:14: error: 'bit_GFNI'
undeclared (first use in this function); did you mean 'bit_BMI'?
if (ecx & bit_GFNI)
  ^~~~
  bit_BMI
../../../libgcc/config/i386/cpuinfo.c:357:14: error: 'bit_VPCLMULQDQ'
undeclared (first use in this function); did you mean 'bit_PCLMUL'?
if (ecx & bit_VPCLMULQDQ)
  ^~
  bit_PCLMUL
../../../libgcc/config/i386/cpuinfo.c:359:14: error: 'bit_AVX512VNNI'
undeclared (first use in this function); did you mean
'bit_AVX512VBMI'?
if (ecx & bit_AVX512VNNI)
  ^~
  bit_AVX512VBMI
../../../libgcc/config/i386/cpuinfo.c:361:14: error:
'bit_AVX512BITALG' undeclared (first use in this function); did you
mean 'bit_AVX5124FMAPS'?
if (ecx & bit_AVX512BITALG)
  ^~~~
  bit_AVX5124FMAPS
../../../libgcc/shared-object.mk:14: recipe for target 'cpuinfo.o' failed
make[2]: *** [cpuinfo.o] Error 1
make[2]: Leaving directory
'/mnt/minlinux/sources/gcc-8.2.0/build/x86_64-lfs-linux-gnu/libgcc'
Makefile:14359: recipe for target 'all-target-libgcc' failed
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory 

Re: [lfs-support] Minimum Hardware configuration for a Custom PC

2018-12-05 Thread Michele Bucca
Il 05 dic 2018 10:39 PM, "Ken Moffat"  ha scritto:

On Thu, Dec 06, 2018 at 04:09:18AM +0800, Xi Ruoyao wrote:
> On 2018-12-05 19:17 +0100, Michele Bucca wrote:
> > Hello There
> >
> > I would like to build a PC in the future. As I am strict on money,
> > what is the cheapest recommended hardware configuration for a speedy
> > build for Linux From Scratch?
>
> > Currently I have this laptop:  Lenovo b50-10
> > CPU: Intel Celeron N2840
> > RAM: 4GB of RAM (I don't know the type)
> > HD: 500GB
> >
> > What configuration would you recommend below €400?
> > Is the Ryzen 5 2400G a good CPU? I read that the first gen had a few
issues:
> > segmentation faults when compiling with 4 parallel jobs, random
> > reboots, etc. [1]
> > Did they fix that? Does anyone use that CPU?
>
> Ken and Thanos has used Ryzen.  See
> http://lists.linuxfromscratch.org/pipermail/blfs-dev/2018-
April/034379.html.

I'm using Ryzen 3 (1300X). If the question is about a *laptop*, be
aware that almost every manufacturer does things differently, and
the question should really be about the specific make and model.
Also, wired-lan and DVD drives are becoming less common, and for
wifi the linux support might be problematic (gentoo, and
particularly Arch, might have details for specific machines, but be
aware the specifications change).

But 'building' a PC usually implies a desktop machine.

For a desktop ryzen, memory (and dual channel), and memory speed,
are key : on my 1300X I've only got 2x4GB, that is usually enough
but for a ryzen 5 (SMT, effectively 8 CPUs) it will probably not
be enough.

Also, if a desktop machine, it probably requires an HDMI or DP
monitor, the old vga D-sUB will not suffice.

For an Intel Desktop, would you recommend an i3-7100 CPU?


ĸen
-- 
I'm saving up 22 shillings and 10 pence (almost a pound!) per week to
buy an ARM-13.
http://www.antipope.org/charlie/blog-static/2018/11/brexit-means-brexit.html
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] Minimum Hardware configuration for a Custom PC

2018-12-05 Thread Michele Bucca
Hello There

I would like to build a PC in the future. As I am strict on money,
what is the cheapest recommended hardware configuration for a speedy
build for Linux From Scratch?

Currently I have this laptop:  Lenovo b50-10
CPU: Intel Celeron N2840
RAM: 4GB of RAM (I don't know the type)
HD: 500GB

What configuration would you recommend below €400?
Is the Ryzen 5 2400G a good CPU? I read that the first gen had a few issues:
segmentation faults when compiling with 4 parallel jobs, random
reboots, etc. [1]
Did they fix that? Does anyone use that CPU?

[1] https://wiki.gentoo.org/wiki/Ryzen#Troubleshooting
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] build TAR fails miserably

2018-11-28 Thread Michele Bucca
Il giorno mer 28 nov 2018 alle ore 14:24 Michele Bucca
 ha scritto:
>
> Il giorno mer 28 nov 2018 alle ore 13:22 Christer Solskogen
>  ha scritto:
> >
> > On 27.11.2018 20:02, Michele Bucca wrote:
> > >
> > >
> > > Il 27 nov 2018 12:09 AM, "Paul Rogers"  > > <mailto:paulgrog...@fastmail.fm>> ha scritto:
> > >
> > >  > I'm sorry to bother you with a question like this but I have no 
> > > other
> > >  > place to ask, nobody has answered to this.
> > > ___8<...
> > >  > SHOULD be compatible.  I'm so tired and in frustration.
> > >
> > > Michele, I don't have a solution your compilation issue, but I do
> > > have a meta-solution.  Break away from beating your head against the
> > > wall here--it's an impediment to the solution.  Do something nice
> > > for a while, until you can come back to this with a fresher
> > > perspective.  It's rarely a waste of time.  "Sleep on it" if possible.
> > >
> > >
> > > I've already solved my problem
> > >
> >
> > Would you care to explain how?
> >
>
> I've said it before but I'll write it again so you won't have to look for it:
>
> My cross-compiler lacked of a complete limits.h header. To generate
> it, inside GCC's source directory, I had to run
>
> cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \
> `dirname $($LFS_TGT-gcc -print-libgcc-fiòe-name)`/include-fixed/limits.h
>
> where $LFS_TGT is the TARGET of your cross-compiler, eg: arm-linux-gnueabi
>
> These instructions are also reported on the LFS book [1]
>
> [1] http://linuxfromscratch.org/lfs/view/stable/chapter05/gcc-pass2.html
> >

Whoops! There's a typo in the command, here's the correct one:

cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \
`dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/include-fixed/limits.h

Cheers
- Michele Bucca
> > --
> > http://lists.linuxfromscratch.org/listinfo/lfs-support
> > FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> > Unsubscribe: See the above information page
> >
> > Do not top post on this list.
> >
> > A: Because it messes up the order in which people normally read text.
> > Q: Why is top-posting such a bad thing?
> > A: Top-posting.
> > Q: What is the most annoying thing in e-mail?
> >
> > http://en.wikipedia.org/wiki/Posting_style
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] build TAR fails miserably

2018-11-28 Thread Michele Bucca
Il giorno mer 28 nov 2018 alle ore 13:22 Christer Solskogen
 ha scritto:
>
> On 27.11.2018 20:02, Michele Bucca wrote:
> >
> >
> > Il 27 nov 2018 12:09 AM, "Paul Rogers"  > <mailto:paulgrog...@fastmail.fm>> ha scritto:
> >
> >  > I'm sorry to bother you with a question like this but I have no other
> >  > place to ask, nobody has answered to this.
> > ___8<...
> >  > SHOULD be compatible.  I'm so tired and in frustration.
> >
> > Michele, I don't have a solution your compilation issue, but I do
> > have a meta-solution.  Break away from beating your head against the
> > wall here--it's an impediment to the solution.  Do something nice
> > for a while, until you can come back to this with a fresher
> > perspective.  It's rarely a waste of time.  "Sleep on it" if possible.
> >
> >
> > I've already solved my problem
> >
>
> Would you care to explain how?
>

I've said it before but I'll write it again so you won't have to look for it:

My cross-compiler lacked of a complete limits.h header. To generate
it, inside GCC's source directory, I had to run

cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \
`dirname $($LFS_TGT-gcc -print-libgcc-fiòe-name)`/include-fixed/limits.h

where $LFS_TGT is the TARGET of your cross-compiler, eg: arm-linux-gnueabi

These instructions are also reported on the LFS book [1]

[1] http://linuxfromscratch.org/lfs/view/stable/chapter05/gcc-pass2.html
>
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] build TAR fails miserably

2018-11-27 Thread Michele Bucca
Il 27 nov 2018 12:09 AM, "Paul Rogers"  ha scritto:

> I'm sorry to bother you with a question like this but I have no other
> place to ask, nobody has answered to this.
___8<...
> SHOULD be compatible.  I'm so tired and in frustration.

Michele, I don't have a solution your compilation issue, but I do have a
meta-solution.  Break away from beating your head against the wall
here--it's an impediment to the solution.  Do something nice for a while,
until you can come back to this with a fresher perspective.  It's rarely a
waste of time.  "Sleep on it" if possible.


I've already solved my problem, however I would like to thank you for your
interest. It's the first time that someone gives me an advice like this.
Thanks for your interest for my self-care.

Cheers

- Michele


-- 
Paul Rogers
paulgrog...@fastmail.fm
Rogers' Second Law: "Everything you do communicates."
(I do not personally endorse any additions after this line. TANSTAAFL :-)
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] build TAR fails miserably

2018-11-26 Thread Michele Bucca
Il giorno lun 26 nov 2018 alle ore 23:37 Michele Bucca
 ha scritto:
>
> Il giorno lun 26 nov 2018 alle ore 20:26 Thomas Trepl
>  ha scritto:
> >
> > Am Montag, den 26.11.2018, 19:09 +0100 schrieb Michele Bucca:
> > > Hello everyone,
> > >
> > > I'm sorry to bother you with a question like this but I have no other
> > > place to ask, nobody has answered to this.
> > > I have problems compiling TAR for arm-linux-gnueabi (ARMv5), I think
> > > that the problem is Glibc. I built the toolchains a lot of times using
> > > different versions of GLIBC, GCC and BINUTILS using the LFS book as a
> > > reference. the package versions are the one suggested by LFS so they
> > > SHOULD be compatible.  I'm so tired and in frustration. Anyway, the
> > > error that I get is this one
> > >
> > >   CC   areadlink-with-size.o
> > > In file included from
> > > /home/michele/tmp/arm/install/arm-linux-gnueabi/include/stdlib.h:941:0,
> > >  from ./stdlib.h:36,
> > >  from ../../gnu/areadlink-with-size.c:28:
> > > /home/michele/tmp/arm/install/arm-linux-gnueabi/include/bits/stdlib.h:
> > > In function 'wctomb':
> > > /home/michele/tmp/arm/install/arm-linux-gnueabi/include/bits/stdlib.h:90:3:
> > > error: #error "Assumed value of MB_LEN_MAX wrong"
> > >  # error "Assumed value of MB_LEN_MAX wrong"
> > >^
> > > Makefile:1829: recipe for target 'areadlink-with-size.o' failed
> > > make[4]: *** [areadlink-with-size.o] Error 1
> > > make[4]: Leaving directory '/home/michele/tmp/tar-1.29/build/gnu'
> > > Makefile:1854: recipe for target 'all-recursive' failed
> > > make[3]: *** [all-recursive] Error 1
> > > make[3]: Leaving directory '/home/michele/tmp/tar-1.29/build/gnu'
> > > Makefile:1524: recipe for target 'all' failed
> > > make[2]: *** [all] Error 2
> > > make[2]: Leaving directory '/home/michele/tmp/tar-1.29/build/gnu'
> > > Makefile:1338: recipe for target 'all-recursive' failed
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory '/home/michele/tmp/tar-1.29/build'
> > > Makefile:1277: recipe for target 'all' failed
> > > make: *** [all] Error 2
> > >
> > > I'm using gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)
> > > as native compiler.
> > >
> > > These are the info on my cross-compiler (built manually):
> > >
> > > COLLECT_GCC=arm-linux-gnueabi-gcc
> > > COLLECT_LTO_WRAPPER=/home/michele/x-tools/arm-linux-gnueabi/libexec/gcc/arm-linux-gnueabi/8.2.0/lto-wrapper
> > > Target: arm-linux-gnueabi
> > > Configured with: ../configure --target=arm-linux-gnueabi
> > > --prefix=/home/michele/x-tools/arm-linux-gnueabi/
> > > --enable-languages=c,c++ --disable-libsanitizer --disable-multilib
> > > --disable-libmpx
> > > Thread model: posix
> > > gcc version 8.2.0 (GCC)
> > >
> > > Cross Binutils 2.31.1
> > > ../configure --target=arm-linux-gnueabi --disable-nls --disable-multilib
> > >
> > > and Glibc 2.28 compiled with: ../configure --host=arm-linux-gnueabi
> > > --prefix=/home/michele/tmp/arm/install/arm-linux-gnueabi
> > > --enable-obsolete-rpc --disable-werror --disable-debug
> > > --enable-add-ons=no libc_cv_c_cleanup=yes libc_cv_forced_unwind=yes
> > >
> > >
> > > otherwise it would fail because of a warning being treated as an error
> > > while compiling op-2.h
> > >
> > > Can someone help me with this? The toolchain can cross-compile some
> > > complex packages such as:
> > >
> > > - binutils
> > > - gmp
> > > - mpfr
> > > - mpc
> > > - gcc
> > > - glibc (disable werror)
> > > - busybox
> > > - xz
> > >
> > > but it fails with this one. What can I do?
> > >
> > > I've tried to use some toolchains provided by crosstool-ng and
> > > buildroot and they work fine but mine doesn't. If I can't get a static
> > > TAR to cross-compileI can basically give up on ARM. I need a Glibc
> > > toolchain because it is the most complete and the de facto standard C
> > > Library in the Linux World.
> > >
> > > I've tried to post on CLFS but nobody game me a working solution. Only
> > > one person tried to answer me and I thank him for that..How can I fix
> > > that error?
> > >
> > > sounds like some problem with this bit of code in
> > > $P

Re: [lfs-support] build TAR fails miserably

2018-11-26 Thread Michele Bucca
Il giorno lun 26 nov 2018 alle ore 20:26 Thomas Trepl
 ha scritto:
>
> Am Montag, den 26.11.2018, 19:09 +0100 schrieb Michele Bucca:
> > Hello everyone,
> >
> > I'm sorry to bother you with a question like this but I have no other
> > place to ask, nobody has answered to this.
> > I have problems compiling TAR for arm-linux-gnueabi (ARMv5), I think
> > that the problem is Glibc. I built the toolchains a lot of times using
> > different versions of GLIBC, GCC and BINUTILS using the LFS book as a
> > reference. the package versions are the one suggested by LFS so they
> > SHOULD be compatible.  I'm so tired and in frustration. Anyway, the
> > error that I get is this one
> >
> >   CC   areadlink-with-size.o
> > In file included from
> > /home/michele/tmp/arm/install/arm-linux-gnueabi/include/stdlib.h:941:0,
> >  from ./stdlib.h:36,
> >  from ../../gnu/areadlink-with-size.c:28:
> > /home/michele/tmp/arm/install/arm-linux-gnueabi/include/bits/stdlib.h:
> > In function 'wctomb':
> > /home/michele/tmp/arm/install/arm-linux-gnueabi/include/bits/stdlib.h:90:3:
> > error: #error "Assumed value of MB_LEN_MAX wrong"
> >  # error "Assumed value of MB_LEN_MAX wrong"
> >^
> > Makefile:1829: recipe for target 'areadlink-with-size.o' failed
> > make[4]: *** [areadlink-with-size.o] Error 1
> > make[4]: Leaving directory '/home/michele/tmp/tar-1.29/build/gnu'
> > Makefile:1854: recipe for target 'all-recursive' failed
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory '/home/michele/tmp/tar-1.29/build/gnu'
> > Makefile:1524: recipe for target 'all' failed
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory '/home/michele/tmp/tar-1.29/build/gnu'
> > Makefile:1338: recipe for target 'all-recursive' failed
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory '/home/michele/tmp/tar-1.29/build'
> > Makefile:1277: recipe for target 'all' failed
> > make: *** [all] Error 2
> >
> > I'm using gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)
> > as native compiler.
> >
> > These are the info on my cross-compiler (built manually):
> >
> > COLLECT_GCC=arm-linux-gnueabi-gcc
> > COLLECT_LTO_WRAPPER=/home/michele/x-tools/arm-linux-gnueabi/libexec/gcc/arm-linux-gnueabi/8.2.0/lto-wrapper
> > Target: arm-linux-gnueabi
> > Configured with: ../configure --target=arm-linux-gnueabi
> > --prefix=/home/michele/x-tools/arm-linux-gnueabi/
> > --enable-languages=c,c++ --disable-libsanitizer --disable-multilib
> > --disable-libmpx
> > Thread model: posix
> > gcc version 8.2.0 (GCC)
> >
> > Cross Binutils 2.31.1
> > ../configure --target=arm-linux-gnueabi --disable-nls --disable-multilib
> >
> > and Glibc 2.28 compiled with: ../configure --host=arm-linux-gnueabi
> > --prefix=/home/michele/tmp/arm/install/arm-linux-gnueabi
> > --enable-obsolete-rpc --disable-werror --disable-debug
> > --enable-add-ons=no libc_cv_c_cleanup=yes libc_cv_forced_unwind=yes
> >
> >
> > otherwise it would fail because of a warning being treated as an error
> > while compiling op-2.h
> >
> > Can someone help me with this? The toolchain can cross-compile some
> > complex packages such as:
> >
> > - binutils
> > - gmp
> > - mpfr
> > - mpc
> > - gcc
> > - glibc (disable werror)
> > - busybox
> > - xz
> >
> > but it fails with this one. What can I do?
> >
> > I've tried to use some toolchains provided by crosstool-ng and
> > buildroot and they work fine but mine doesn't. If I can't get a static
> > TAR to cross-compileI can basically give up on ARM. I need a Glibc
> > toolchain because it is the most complete and the de facto standard C
> > Library in the Linux World.
> >
> > I've tried to post on CLFS but nobody game me a working solution. Only
> > one person tried to answer me and I thank him for that..How can I fix
> > that error?
> >
> > sounds like some problem with this bit of code in
> > $PREFIX/$TARGET/include/bits/stdlib.h
> >
> > __NTH (wctomb (char *__s, wchar_t __wchar))
> > {
> >   /* We would have to include  to get a definition of MB_LEN_MAX.
> >  But this would only disturb the namespace.  So we define our own
> >  version here.  */
> > #define __STDLIB_MB_LEN_MAX16
> > #if defined MB_LEN_MAX && MB_LEN_MAX != __STDLIB_MB_LEN_MAX
> > # error "Assumed value of MB_LEN_MAX wrong"
> > #endif
> >   if (__bos (__s) != (size

[lfs-support] build TAR fails miserably

2018-11-26 Thread Michele Bucca
Hello everyone,

I'm sorry to bother you with a question like this but I have no other
place to ask, nobody has answered to this.
I have problems compiling TAR for arm-linux-gnueabi (ARMv5), I think
that the problem is Glibc. I built the toolchains a lot of times using
different versions of GLIBC, GCC and BINUTILS using the LFS book as a
reference. the package versions are the one suggested by LFS so they
SHOULD be compatible.  I'm so tired and in frustration. Anyway, the
error that I get is this one

  CC   areadlink-with-size.o
In file included from
/home/michele/tmp/arm/install/arm-linux-gnueabi/include/stdlib.h:941:0,
 from ./stdlib.h:36,
 from ../../gnu/areadlink-with-size.c:28:
/home/michele/tmp/arm/install/arm-linux-gnueabi/include/bits/stdlib.h:
In function 'wctomb':
/home/michele/tmp/arm/install/arm-linux-gnueabi/include/bits/stdlib.h:90:3:
error: #error "Assumed value of MB_LEN_MAX wrong"
 # error "Assumed value of MB_LEN_MAX wrong"
   ^
Makefile:1829: recipe for target 'areadlink-with-size.o' failed
make[4]: *** [areadlink-with-size.o] Error 1
make[4]: Leaving directory '/home/michele/tmp/tar-1.29/build/gnu'
Makefile:1854: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/michele/tmp/tar-1.29/build/gnu'
Makefile:1524: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/michele/tmp/tar-1.29/build/gnu'
Makefile:1338: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/michele/tmp/tar-1.29/build'
Makefile:1277: recipe for target 'all' failed
make: *** [all] Error 2

I'm using gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)
as native compiler.

These are the info on my cross-compiler (built manually):

COLLECT_GCC=arm-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/home/michele/x-tools/arm-linux-gnueabi/libexec/gcc/arm-linux-gnueabi/8.2.0/lto-wrapper
Target: arm-linux-gnueabi
Configured with: ../configure --target=arm-linux-gnueabi
--prefix=/home/michele/x-tools/arm-linux-gnueabi/
--enable-languages=c,c++ --disable-libsanitizer --disable-multilib
--disable-libmpx
Thread model: posix
gcc version 8.2.0 (GCC)

Cross Binutils 2.31.1
../configure --target=arm-linux-gnueabi --disable-nls --disable-multilib

and Glibc 2.28 compiled with: ../configure --host=arm-linux-gnueabi
--prefix=/home/michele/tmp/arm/install/arm-linux-gnueabi
--enable-obsolete-rpc --disable-werror --disable-debug
--enable-add-ons=no libc_cv_c_cleanup=yes libc_cv_forced_unwind=yes


otherwise it would fail because of a warning being treated as an error
while compiling op-2.h

Can someone help me with this? The toolchain can cross-compile some
complex packages such as:

- binutils
- gmp
- mpfr
- mpc
- gcc
- glibc (disable werror)
- busybox
- xz

but it fails with this one. What can I do?

I've tried to use some toolchains provided by crosstool-ng and
buildroot and they work fine but mine doesn't. If I can't get a static
TAR to cross-compileI can basically give up on ARM. I need a Glibc
toolchain because it is the most complete and the de facto standard C
Library in the Linux World.

I've tried to post on CLFS but nobody game me a working solution. Only
one person tried to answer me and I thank him for that..How can I fix
that error?

sounds like some problem with this bit of code in
$PREFIX/$TARGET/include/bits/stdlib.h

__NTH (wctomb (char *__s, wchar_t __wchar))
{
  /* We would have to include  to get a definition of MB_LEN_MAX.
 But this would only disturb the namespace.  So we define our own
 version here.  */
#define __STDLIB_MB_LEN_MAX16
#if defined MB_LEN_MAX && MB_LEN_MAX != __STDLIB_MB_LEN_MAX
# error "Assumed value of MB_LEN_MAX wrong"
#endif
  if (__bos (__s) != (size_t) -1 && __STDLIB_MB_LEN_MAX > __bos (__s))
return __wctomb_chk (__s, __wchar, __bos (__s));
  return __wctomb_alias (__s, __wchar);
}
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] LFS8.1 chapter 5.10 : /tools/bin/gcc is dynamically linked to host linker

2018-07-01 Thread Michele Bucca
Il dom 1 lug 2018, 10:17 Mohamed Dawod  ha scritto:

>
> HI,
>
> I hope that some one can help me..
> This is the 8th time i restart LFS building from chapter3 !!
>
> The problem starts to appear in chapter6.7 (Linux-4.12.7 API Headers)
> (/tools/bin/gcc file doesnt exist error)
>
> The problem is explained in details here :
>
> http://archive.linuxfromscratch.org/mail-archives/lfs-support/2016-February/049686.html
>
> So, I restart from chapter5 and when I reached to  section 5.10.
> (GCC-7.2.0 - Pass 2) , I tried to check the linking of /tools/bin/gcc
> using the command
>
> $readelf -l /tools/bin/cc | grep "interpreter"
> --The result :
> [Requesting program interpreter: /lib/ld-linux.so.2]
> __
> The path for my lfs usr :  $echo $PATH
> --The result :   /tools/bin:/bin:/usr/bin
> __
> The environmental variables for lfs usr : $env|sort
> --The result :
> HOME=/home/lfs
> LC_ALL=POSIX
> LFS=/mnt/lfs
> LFS_TGT=i686-lfs-linux-gnu
> OLDPWD=/mnt/lfs
> PATH=/tools/bin:/bin:/usr/bin
> PS1=${debian_chroot:+($debian_chroot)}\u@\h:\w\$
> PWD=/home/lfs
> SHLVL=1
> TERM=xterm
> _=/usr/bin/env
> __
>
>
> So,what is the reason of this problem ?
> and what is the solution for this problem ?
>

did you pach the sources of GCC using the sed command in the first and
second build of GCC? Can you describe a little more the steps that you do
before reaching the problem? looks like you failed to compile GCC - Pass 1

- Michele

>
> --
>
> Mohamed Dawod
> Computer Engineering Department
> Faculty of Engineering
> Cairo University
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] Build grub for i386-pc and x86_64-efi on 32bit processor

2018-06-27 Thread Michele Bucca
Hello Everyone

As I plan to boot my LFS system from a thumb drive I would like to build
grub for both platforms: i386-pc and x86_64-efi

I'm compiling on a 32bit processor and when I try to compile the
platform x86_64-efi
it says that it is not supported on my architecture (i386).

 Can you help me? also, if I don't install libdevmapper can I loop mount
iso files from grub?

Also is there some kind of features that loads usb 2.0 support on grub2
like in the builds of grub4dos from chenall [1]?

Thanks :)

[1] https://github.com/chenall/grub4dos
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Cannot build first pass GCC in temporary toolchain

2018-06-25 Thread Michele Bucca
Il lun 25 giu 2018, 12:02 Xi Ruoyao  ha scritto:

> On 2018-06-25 11:19 +0200, Michele Bucca wrote:
> > Hello, I'm trying to build a temporary toolchain using the LFS 8.2
> > book. I'm not a first time user The only deviation from the book that
> > I'm doing is that instead of installing inside everything in /tools
> > I'm installing it inside /mikeos.
> >
> > the LFS_TGT variable is set to i686-mikeos-linux-gnu
> > the LFS variable is set to /mnt/lfs
>
> /* snip */
>
> > linux.h.txt is the file gcc/config/linux.h
>
> The book said:
>
> > Next, we add our define statements which alter the default
> > prefix to the end of the file. Note that the trailing “/”
> > in “/tools/lib/” is required.
>
> Apparently "/mikeos/lib" in linux.h should be "/mikeos/lib/".
>

Thank you! That solved the problem! ;)

>
> > i386_linux.h.txt is the file gcc/config/i386/linux.h
> > i386_linux64.h.txt is the file gcc/config/i386/linux64.h
> --
> Xi Ruoyao 
> School of Aerospace Science and Technology, Xidian University
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] Cannot build first pass GCC in temporary toolchain

2018-06-25 Thread Michele Bucca
Hello, I'm trying to build a temporary toolchain using the LFS 8.2
book. I'm not a first time user The only deviation from the book that
I'm doing is that instead of installing inside everything in /tools
I'm installing it inside /mikeos.

the LFS_TGT variable is set to i686-mikeos-linux-gnu
the LFS variable is set to /mnt/lfs

Now I will post the configure commands:

Binutils-2.30

../configure --prefix=/mikeos --target=i686-mikeos-linux-gnu
--with-lib-path=/mikeos/lib --with-sysroot=/mnt/lfs --disable-nls
--disable-werror

GCC 7.3.0 - Pass 1

(GCC was patched using the instructions from the book, replacing
/tools with /mikeos. I'm attaching the patched files.)

../configure --target=i686-mikeos-linux-gnu --prefix=/mikeos
--with-glibc-version=2.11 --with-sysroot=/mnt/lfs --with-newlib
--without-headers --with-local-prefix=/mikeos
--with-native-system-header-dir=/mikeos/include --disable-nls
--disable-shared --disable-multilib --disable-decimal-float
--disable-threads --disable-libatomic --disable-libgomp
--disable-libmpx --disable-libquadmath --disable-libssp
--disable-libvtv --disable-libstdcxx --enable-languages=c,c++

Glibc 2.27

../configure --prefix=/mikeos --host=i686-mikeos-linux-gnu
--build=i686-pc-linux-gnu --enable-kernel=2.6.32
--with-headers=/mikeos/include libc_cv_forced_unwind=yes
libc_cv_c_cleanup=yes

i686-pc-linux-gnu is the output of $(../scripts/config.guess)

everything builds smoothly but when I try to compile dummy.c using

$LFS_TGT-gcc dummy.c it outputs this error and I can't continue.

/mnt/lfs/mikeos/bin/../lib/gcc/i686-mikeos-linux-gnu/7.3.0/../../../../i686-mikeos-linux-gnu/bin/ld:
cannot find crt1.o: No such file or directory
/mnt/lfs/mikeos/bin/../lib/gcc/i686-mikeos-linux-gnu/7.3.0/../../../../i686-mikeos-linux-gnu/bin/ld:
cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status

the file that it's looking is inside /mikeos/lib
Here's the verbose output:

Using built-in specs.
COLLECT_GCC=i686-mikeos-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/mnt/lfs/mikeos/bin/../libexec/gcc/i686-mikeos-linux-gnu/7.3.0/lto-wrapper
Target: i686-mikeos-linux-gnu
Configured with: ../configure --target=i686-mikeos-linux-gnu
--prefix=/mikeos --with-glibc-version=2.11 --with-sysroot=/mnt/lfs
--with-newlib --without-headers --with-local-prefix=/mikeos
--with-native-system-header-dir=/mikeos/include --disable-nls
--disable-shared --disable-multilib --disable-decimal-float
--disable-threads --disable-libatomic --disable-libgomp
--disable-libmpx --disable-libquadmath --disable-libssp
--disable-libvtv --disable-libstdcxx --enable-languages=c,c++
Thread model: single
gcc version 7.3.0 (GCC)
COLLECT_GCC_OPTIONS='-v' '-mtune=generic' '-march=pentiumpro'
 /mnt/lfs/mikeos/bin/../libexec/gcc/i686-mikeos-linux-gnu/7.3.0/cc1
-quiet -v -iprefix
/mnt/lfs/mikeos/bin/../lib/gcc/i686-mikeos-linux-gnu/7.3.0/ dummy.c
-quiet -dumpbase dummy.c -mtune=generic -march=pentiumpro -auxbase
dummy -version -o /tmp/ccLt7dlq.s
GNU C11 (GCC) version 7.3.0 (i686-mikeos-linux-gnu)
compiled by GNU C version 7.3.0, GMP version 6.1.2, MPFR version
4.0.1, MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory
"/mnt/lfs/mikeos/bin/../lib/gcc/i686-mikeos-linux-gnu/7.3.0/../../../../i686-mikeos-linux-gnu/include"
ignoring duplicate directory
"/mnt/lfs/mikeos/bin/../lib/gcc/../../lib/gcc/i686-mikeos-linux-gnu/7.3.0/include"
ignoring duplicate directory
"/mnt/lfs/mikeos/bin/../lib/gcc/../../lib/gcc/i686-mikeos-linux-gnu/7.3.0/include-fixed"
ignoring nonexistent directory
"/mnt/lfs/mikeos/bin/../lib/gcc/../../lib/gcc/i686-mikeos-linux-gnu/7.3.0/../../../../i686-mikeos-linux-gnu/include"
ignoring duplicate directory "/mnt/lfs/mikeos/include"
#include "..." search starts here:
#include <...> search starts herecd ..:
 /mnt/lfs/mikeos/bin/../lib/gcc/i686-mikeos-linux-gnu/7.3.0/include
 /mnt/lfs/mikeos/bin/../lib/gcc/i686-mikeos-linux-gnu/7.3.0/include-fixed
 /mnt/lfs/mikeos/include
End of search list.
GNU C11 (GCC) version 7.3.0 (i686-mikeos-linux-gnu)
compiled by GNU C version 7.3.0, GMP version 6.1.2, MPFR version
4.0.1, MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: c1d3a69e3cae498aec5e9863f3833dd4
COLLECT_GCC_OPTIONS='-v' '-mtune=generic' '-march=pentiumpro'
 
/mnt/lfs/mikeos/bin/../lib/gcc/i686-mikeos-linux-gnu/7.3.0/../../../../i686-mikeos-linux-gnu/bin/as
-v --32 -o /tmp/ccyJDQbI.o /tmp/ccLt7dlq.s
GNU assembler version 2.30 (i686-mikeos-linux-gnu) using BFD version
(GNU Binutils) 2.30
COMPILER_PATH=/mnt/lfs/mikeos/bin/../libexec/gcc/i686-mikeos-linux-gnu/7.3.0/:/mnt/lfs/mikeos/bin/../libexec/gcc/:/mnt/lfs/mikeos/bin/../lib/gcc/i686-mikeos-linux-gnu/7.3.0/../../../../i686-mikeos-linux-gnu/bin/

Re: [lfs-support] Requesting to include about Package-management in lfs book

2018-06-06 Thread Michele Bucca
>  I would be very interested to see detailed steps for adding a package
> manager like rpm or apt to an existing LFS system.  I also volunteer to help
> test and provide feedback for that. This would be fascinating because it
> would give insight into how someone could create their own Linux distro. I'm
> particularly interested in creating a tiny Linux that can be downloaded and
> installed by others, then expanded easily to suit their needs. It would be
> fun to see how small that download could be made, yet still contain enough
> that people could easily download and install binary packages of their
> choice.
> - Don
>
You might consider reading this hints for a starting point:

http://www.linuxfromscratch.org/hints/downloads/files/rpm.txt
http://www.linuxfromscratch.org/hints/downloads/files/dpkg.txt
http://www.linuxfromscratch.org/hints/downloads/files/pkg_unionfs.txt
http://www.linuxfromscratch.org/hints/downloads/files/pm_with_git.txt
http://www.linuxfromscratch.org/hints/downloads/files/OLD/apt.txt

or even this for pkgtool:
https://www.linuxquestions.org/questions/linux-from-scratch-13/%5Bhow-to%5D-installing-and-using-slackware%27s-pkgtools-in-lfs-4175536981/


Patches and files for the hints can be found here
http://www.linuxfromscratch.org/hints/downloads/files/ATTACHMENTS/
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Install a Toolchain without using hard links

2018-05-09 Thread Michele Bucca
2018-05-09 12:42 GMT+02:00 Pierre Labastie <pierre.labas...@neuf.fr>:
>
>
> Le 8 mai 2018 20:13, Rafał -rsm- Marek <r...@lisper.pl> a écrit :
>
> hi michele,
>
> On 07/05/18 23:30, Michele Bucca wrote:
>> Rename 'ln.s' into 'ln' and put it inside a PATH directory inside your
>> home, don't overwrithe /bin/ln !
>
> yes (and it's annoying), but! when you run bash again, it will overwrite
> :) i assume there is some cache i don't know.
>
> POC:
>
> $ env | grep PATH
> PATH=/home/rsm/bin:/usr/local/bin:/usr/bin:/bin
> $ cp /bin/ln ~/bin
>
> $ which ln
> /bin/ln
>
> Issue "rehash", so that the current $PATH is used. Then "which ln" would
> return "/home/rsm/bin/ln"
>
> $ bash
> $ which ln
> /home/rsm/bin/ln
>
>

Thanks for the tips, however what I meant for "don't overwrithe
/bin/ln !" was: do not copy the script in /bin/ln, do not overwrite
the actual binary or you will break your  system. Thanks anyway. :)

Now I have another issue that is about cross-compiling. I've posted it
in clfs-support, if someone is subscibed to that mailing list I would
be glad if someone could help me, This would allow me to do something
really cool. I'll give more details when I succed ;)

 In the meantime Thanks to all of you :)

-- Michele

> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Install a Toolchain without using hard links

2018-05-07 Thread Michele Bucca
2018-05-05 12:04 GMT+02:00 Nick Lazos :
>> Hello
>>
>> Sorry if I post my problem here but no one is responding in lfs-chat.
>>
>> I would like to install Binutils, GCC and Glibc, however I'm not able
>> to create any kind of hardlink because I have restrictions over the
>> sysem that I want to use.
>>
>>  ...
>
> I cannot help you with your link problem but maybe you can dance
> around the problem.
> You can try mounting the /tools directory as a ramdrive. Yes, a lot of
> assumptions, i know.

I managed to solve the problem. I misconfigured GCC and Binutils. Now it works.

Note: The wrapper should be used when you run 'make install'
Rename 'ln.s' into 'ln' and put it inside a PATH directory inside your
home, don't overwrithe /bin/ln !

> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] Install a Toolchain without using hard links

2018-05-05 Thread Michele Bucca
Hello

Sorry if I post my problem here but no one is responding in lfs-chat.

I would like to install Binutils, GCC and Glibc, however I'm not able
to create any kind of hardlink because I have restrictions over the
sysem that I want to use.

 I've created a script called ln.s so that every time 'ln' is invoked
to create a hard link, a symbolic link is created insted.

I'm following the book to create a temporary system in /tools amd evey
time I run "make install" i rename ln.s to ln so it can do it's dirty
trick

the script content is as follows:

#!/bin/bash
/bin/ln -s "$@"

I ended up with a broken toolchain that cannot compile a simple "int
main(){}" program. Can you help me troubleshoot the problem?
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Host System Requirements/Distro our your choice

2017-04-16 Thread Michele Bucca
Il 12 apr 2017 2:56 AM, "Bruce Dubbs"  ha scritto:
>
> Paul Rogers wrote:
>>>
>>> For host system requirements is there a distro that works better
>>> than others?
>>
>>
>> Opinions will vary of course, but strictly personally, given a free
>> choice, I'd prefer something with a structure and "modus operandi"
>> similar to (B)LFS.  There seem to be two major and majorly different
>> contenders: the RedHat/(Slack?) Way and the Debian/Ubuntu Way.  I
>> haven't used Slackware, want to one of these days, but I have used
>> RedHat and Ubuntu.  (B)LFS seems to me to be more the RedHat Way, minus
>> the bells and whistles.  When I stepped up to 64-bits, I chose my
>> CentOS-6.6 system as host, and it was easy, no tweaking my head around
>> because of different "habits".
>
>
> I use Debian for my classes, but really any distro will do as long as it
passes the Host Systems Requirement check.  To me the apt-get of Debian is
a little easier to use, but that's probably because I am more familiar with
it.
>
> Note that when doing a Debian install, I tell it to use xfce.  I find
that a *lot* easier than the default, gnome.
>
>   -- Bruce
>
>

As a host system I use Debian Jessie XFCE with the build-essentials package
installed.
>
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] should usb-sticks work with base LFS?

2017-03-22 Thread Michele Bucca
Il 21 mar 2017 4:52 PM, "Michael D. L."  ha scritto:
>
>
>
> On 03/21/2017 12:40 PM, Thomas Seeling wrote:
>>
>> Hallo, I have built an LFS 7.10 system (without systemd) and I'm quite
happy with it so far, everything works great. Now I wanted to transfer some
files so I connected a memory stick but there's no device to mount. I'm
unsure about whether I should expect an USB stick to work with base LFS or
not. When I connect the memory stick the kernel messages report the USB
device and recognize manufacturer etc., but I don't see a corresponding
node created in /dev. My kernel is compiled with USB support and
DOS/FAT/NTFS filesystems as modules. Admittedly I'm not entirely sure how
udev is supposed to work. The rules syntax suggest that the kernel already
provides something like "sdb" and the udev rules can work with that. I've
grabbed a similar-looking rule from an Ubuntu wiki but it did not work as I
hoped. Can someone please give me some hints and pointers what I should do
next? Is this a debugging-something problem or an installing-something
problem? Thanks ;) Tschau...Thomas
>>
>>
>>
> Hi Thomas,
>
> You need to add support for USB Storage Devices in the Kernel:
>
> Device Drivers ->
> USB Support ->
> <*> USB Mass Storage support
>
> Be sure the prerequisit SCSI disk support is enabled aswell:
>
> Device Drivers ->
> SCSI device support ->
> <*> SCSI disk support
>
> Best regards
>  Michael
>

Be sure to include even usb 3.0 drivers if you have those ports..otherwise
you will get a kernel panic if you try to boot from usb
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Building LFS with an existing toolkit

2017-03-22 Thread Michele Bucca
Il 22 mar 2017 5:01 PM, "Bruce Dubbs"  ha scritto:
>
> Hazel Russman wrote:
>>
>> On Tue, 21 Mar 2017 14:07:21 -0700 Paul Rogers
>>  wrote:
>>
 I followed my original plan and completed the glibc build
 yesterday. It proved unexpectedly difficult. I had two segfaults,
 the first time in configure and the second in make. I have never
 seen those before. The third time it went to completion.
>>>
>>>
>>> I've seen segfaults from "overdriving" a system with big packages
>>> and too little RAM, especially with parallelism.  Is it multicore?
>>> You're dealing with a pretty "small" CPU, 13-25W TPD, and how much
>>> RAM?
>>>
 It seems there is after all some subtle incompatibility between
 something in the toolkit and the Via Nano processor it is running
 on. I suspect either glibc or one of the gcc libraries; I can't
 imagine any other software being that sensitive to architecture.
>>>
>>>
>>> Both happened in different places, but the third time was "a charm",
>>> suggesting the process was OK, and it was a temporary H/W problem.
>>>
 glibc tests showed 9 errors: the two expected ones on getaddr(4,5),
 4 maths errors (also expected on a non-intel processor), csu/test-
 multiarch (which also appeared in LFS7.8 so it seems to be expected
 on a Via Nano) and 2 new ones: npH/tst-create-detached and
 iconvdata/iconv-test. There were also two unexpected passes!
>>>
>>>
>>> Not surprizing with an unusual CPU core design.
>>>
>>> I'd still say it'd make sense to copy the one you made before
>>> across, as there are more big packages to come.  Can you make a new
>>> partition on it, and give that a try?  I used my i7 to build this
>>> system for a Conroe.
>
>
>> Sorry, no more room on disk! I made 4 primary partitions (should have
>> made an extended one, shouldn't I!). I could rearrange everything using
>> fsarchiver or something but frankly, I don't fancy all the hard work.
>> Maybe one day...
>
>
> No, you should have used GPT instead of the ancient MSDOS partition table.
> Go buy a new hard disk.  They are cheap.
>
> http://www.mkomo.com/cost-per-gigabyte-update
>
>   -- Bruce
>

Not all BIOSES support GPT. My old PC (2007) is still using a BIOS and does
not support GPT I guess
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Has anyone used gentoo stage3 as toolchain or temporary system skipping the chapter 5?

2017-02-18 Thread Michele Bucca
Il 18 feb 2017 3:36 AM, "ssmtpmailtesting ssmtpmailtesting" <
ssmtpmailtest...@gmail.com> ha scritto:
>
> Has anyone used gentoo stage3 as toolchain or temporary system
> skipping the chapter 5?
> If yes, then can you please share your commands or how did you do it?

Someone has already answered this question. Please check your mailbox
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] How can I set hostname?

2017-02-14 Thread Michele Bucca
2017-02-14 8:07 GMT+01:00 Bruce Dubbs :
> ssmtpmailtesting ssmtpmailtesting wrote:
>>
>> I added: echo myhostname > /proc/sys/kernel/hostname
>> Still same prompt = root@(none)
>> But if I install lfs-bootscript, then it changes to root@myhostname.
>> I also added /etc/fstab and /etc/inittab
>>
>> Did I miss anything?
>
>
> Yes.  For systemd, Section 7.2.3.
>
> After bootup, use hostnamectl.
>
>   -- Bruce
>
>
>
try this as root:
echo hostname > /etc/hostname

> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Kernel Panic Booting From USB Hard Drive

2017-02-12 Thread Michele Bucca
Il 13 feb 2017 12:09 AM, "Mark Pokorny"  ha scritto:
>
> Hi All, it’s been a while since I posted here!
>
> I have just finished running through a build of LFS 7.10-systemd and have
rebooted my computer. I am currently getting a kernel panic when the kernel
is booting. According to the messages on the screen (which I can try and
transcribe if anyone needs them), it looks like the kernel cannot locate my
‘/’ partition on the USB hard disk, and tells me that I need to correct my
‘root=’ line in the bootloader configuration to one of the partitions on
the internal HD. It seems like the kernel is not detecting the USB disk at
all.

You need to enable built-in support for USB 3.0 in the kernel to load the
system. You could also use a initial ramdisk but that for me is a hassle.
It's better to have it built in. Make defconfig does not enable usb 3.0 by
default. This is based on my personal experience playing with source made
distros made by me before I started to follow LFS.
>
> The only significant deviations I have made from the book is that I am
using Extlinux as my USB bootloader, which is being chainloaded from
Ubuntu’s GRUB2, which is on the internal disk. I also have FORTRAN, D and
Obj-C(++) compiled into GCC (though I can’t imagine this being an issue).
>
> My disks:
>
> --
> # /dev/sda (internal, GRUB2)
>
> # Partition  LabelFS Notes
> /dev/sda1System Reserved  ntfs   Windows8 Recovery
> /dev/sda2Windows8 ntfs
> /dev/sda3Extended -
> /dev/sda5-cryptswap  Ubuntu’s Swap (host system)
> /dev/sda6Root ext4   Ubuntu’s Root (host system)
> /dev/sda7Home ext4   Ubuntu’s Home (host system)
>
> --
> # /dev/sdb (USB 3.0, Extlinux)
>
> # Partition  LabelFS Notes
> /dev/sdb1MiraBoot ext2   LFS’s /boot partition
> /dev/sdb2VegaSwap swap   LFS’s swap partition
> /dev/sdb3Mira ext4   LFS’s / partition
> /dev/sdb4Extended -
> /dev/sdb5Vega xfsExternal storage
> /dev/sdb6MiraHome xfsLFS’s /home partition
>
> --
> # /boot/extlinux.conf
>
> UI vesamenu.c32
>
> MENU TITLE Vega Boot Menu
>
> DEFAULT lfs
> TIMEOUT 300
>
> LABEL lfs
>   MENU LABEL ^Mira (LFS-7.10-systemd)
>   LINUX /vmlinuz-4.9.9-lfs-7.10-systemd
>   APPEND root=/dev/sdb3 rw
>
> LABEL lfstwo
>   MENU LABEL Mira (^Second option)
>   LINUX /vmlinuz-4.9.9-lfs-7.10-systemd
>   APPEND root=LABEL=Mira rw
>
> # Note that both menu entries point to the same partition – both have the
same result.
>
> --
>
> Any thoughts? Will I need an initramfs to load the USB drivers, or am I
missing something from the kernel configuration?
>
> Thanks all!
>
> Mark.
>
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Is it possible to use gentoo stage3 as tools or temporary system?

2017-01-30 Thread Michele Bucca
Il 30 gen 2017 10:52 PM, "Bruce Dubbs"  ha scritto:
>
> Tim Tassonis wrote:
>>
>> On 01/30/2017 10:11 PM, Chris Statzer wrote:
>>>
>>>
>>>
>>> On Mon, Jan 30, 2017 at 7:17 PM, ssmtpmailtesting ssmtpmailtesting
>>> > wrote:
>>>
>>> Is it possible to use gentoo stage3 as tools or temporary system?
>>>
>>>
>>>
http://distfiles.gentoo.org/releases/x86/autobuilds/20170124/stage3-i686-20170124.tar.bz2
>>>
>>>
>>> <
http://distfiles.gentoo.org/releases/x86/autobuilds/20170124/stage3-i686-20170124.tar.bz2
>
>>>
>>>
>>> Then is it possible to skip chapter 5 to make tools or toolchain or
>>> temporary system?
>>>
>>>
>>> It is possible, and exactly what I did after my first run though LFS.
>>> Extract it to the root. Chroot to it. Install grub, bc. and compile the
>>> kernel. Reboot. You already have wget etc etc. I built Xorg etc
>>> following BLFS and worked flawlessly. Would be happy to answer any other
>>> questions.
>>
>>
>>
>> Of course it is possible. It might also be possible to use an existing
>> debian or redhat install as temporary toolchain.
>>
>> It just undermines the whole point of Linux From Scratch. The "from
>> scratch" actually means that you build the whole systen from scratch.
Like
>> this, you fail to do that. You will compile at least:
>>
>> Glibc-2.24
>> Zlib-1.2.8
>> File-5.28
>> Binutils-2.27
>> GMP-6.1.1
>> MPFR-3.1.4
>> MPC-1.0.3
>>
>> with the gentoo compiler and not the one that you built yourself.
>
>
> One thing that is quite reasonable is to build /mnt/lfs/tools (Chapter 5)
and archive it.  You can then reuse it for any new version of LFS unless a
package comes up that needs something newer.  But that hasn't happened in
years.
>
> I'll note that on my system, I takes only about 20 minutes to build
Chapter 5.
>
> -rw-rw-r-- 1 lfslfs0 Jan 23 18:08 034-binutils-pass1
> ...
> -rw-rw-r-- 1 lfslfs0 Jan 23 18:28 064-xz
>
> Yes, it is automated.
>
>   -- Bruce
>
Using ALFS?
>
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Is the style of kernel booting message correct?

2017-01-02 Thread Michele Bucca
Il 02 gen 2017 5:28 AM, "Ken Moffat"  ha scritto:
>
> On Mon, Jan 02, 2017 at 03:26:55AM +0100, Rafał -rsm- Marek wrote:
> > On 02.01.2017 03:11, ssmtpmailtesting ssmtpmailtesting wrote:
> > > @Hazel Russman,
> > >
> > > > Sysvinit contains the init program
> > > Which init program? What is the localtion of this init program?
> >
> > # which init
> >
> > regards
> > rsm
>
> LOL - the original poster has avoided parts of LFS, in the apparent
> belief they are unnecessary, so I doubt he has even thought about
> building any of BLFS - and that is where 'which' is mentioned.
>
> So for him
>
> # type -pa init
>
> But mostly, I think he is trolling.
>
> ĸen

Not to mention the fact that he's talking about sysvinit and then asks
which program is this init. Maybe I am misunderstanding what he asks,
however I think he is trolling too
> --
> `I shall take my mountains', said Lu-Tze. `The climate will be good
> for them.' -- Small Gods
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Is it possible to boot kernel without installing sysvinit?

2017-01-02 Thread Michele Bucca
Il 02 gen 2017 3:45 AM, "ssmtpmailtesting ssmtpmailtesting" <
ssmtpmailtest...@gmail.com> ha scritto:
>
> @Pierre,
>
>
> > And if I omit init=/bin/bash the system is freezed, can't do anything
> > from there. Is init=/bin/bash necessary?
> >>No. But init="something" is necessary [1]: that's what the kernel
> >>launches when it is done with initialization.
>
> But I see in other linux distribution's grub.cfg where init=/bin/bash is
not there.

init=/bin/bash is *insecure* because it lets you access to the system with
root previleges without asking for a password

>
>
> > And if I omit init=/bin/bash the system is freezed, can't do anything
> > from there. Is init=/bin/bash necessary?
> >>No. But init="something" is necessary [1]: that's what the kernel
> >>launches when it is done with initialization.
>
> Is /sbin/init created by sysvinit? Why does kernel try to launch
/sbin/init by default?

I think that it is created by it. the kernel launches /sbin/init by default
because it *is designed* to do so.
>
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Is the style of kernel booting message correct?

2016-12-30 Thread Michele Bucca
Il 31 dic 2016 7:29 AM, "ssmtpmailtesting ssmtpmailtesting" <
ssmtpmailtest...@gmail.com> ha scritto:
>
> After booting the kernel successfully, the init scripts start running.
Everything works well.
>
> I see messages like this:
>
> * Starting network   [ok]
> * Starting other service[ok]
>
> The [ok] is at the right side.
>
> Is this the correct style of message? Is this style set by sysvinit? Or
is it set by lfs bootscripts? Or is it set by kernel by default?
>

I did not arrive to that point but I think it should be fine.

> I think, debian system has systemd instead of sysvinit. When I boot
debian system I see the style in this way:
>
> [OK] Started network
> [OK] Started other service
>
> The [OK] is at the left side.
>
> Which program sets the style of these messages? One sets [OK] at left and
another sets [ok] at right.

It does not matter where the [OK] is.
>
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Can't login after boot, typing keyboard doesn't display any character on console, why?

2016-12-29 Thread Michele Bucca
Il 30 dic 2016 5:02 AM, "ssmtpmailtesting ssmtpmailtesting" <
ssmtpmailtest...@gmail.com> ha scritto:
>
> cat /etc/inittab
> # Begin /etc/inittab
>
> id:3:initdefault:
>
> si::sysinit:/etc/rc.d/init.d/rc S
>
> l0:0:wait:/etc/rc.d/init.d/rc 0
> l1:S1:wait:/etc/rc.d/init.d/rc 1
> l2:2:wait:/etc/rc.d/init.d/rc 2
> l3:3:wait:/etc/rc.d/init.d/rc 3
> l4:4:wait:/etc/rc.d/init.d/rc 4
> l5:5:wait:/etc/rc.d/init.d/rc 5
> l6:6:wait:/etc/rc.d/init.d/rc 6
>
> ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
>
> su:S016:once:/sbin/sulogin
>
> 1:2345:respawn:/sbin/agetty --noclear tty1 9600
> 2:2345:respawn:/sbin/agetty tty2 9600
> 3:2345:respawn:/sbin/agetty tty3 9600
> 4:2345:respawn:/sbin/agetty tty4 9600
> 5:2345:respawn:/sbin/agetty tty5 9600
> 6:2345:respawn:/sbin/agetty tty6 9600
>
> # End /etc/inittab
>
> There is no /etc/rc.d folder though. After booting the kernel it says:
there is no /etc/rc.d/init.d/rc
>
> On Fri, Dec 30, 2016 at 9:57 AM, ssmtpmailtesting ssmtpmailtesting <
ssmtpmailtest...@gmail.com> wrote:
>>
>> I looks, kernel is booting well. Mounted rootfs(ext4). I got the login
prompt as: (none) login: , if I type username there, characters are not
displayed there. It's not doing anything from there. I think, system is
freezed.
>>
>> cat /etc/sysconfig/console:
>> KEYMAP="us"
>> FONT="lat1-16 -m 8859-1"
>>
>> I didn't install this:
http://www.linuxfromscratch.org/lfs/view/stable/chapter07/bootscripts.html
>>
>> cat /etc/sysconfig/ifconfig.eth0
>>
>> ONBOOT=yes
>> IFACE=eth0
>> SERVICE=ipv4-static
>> IP=192.168.1.2
>> GATEWAY=192.168.1.1
>> PREFIX=24
>> BROADCAST=192.168.1.255
>>
>> (none) login: prompt was before. I was able to login before without
installing lfs bootscripts. But I recompiled the kernel, then tried again
to change the (none) login: to mybox login: prompt. Now can't type anything
and can't login.
>>
>> cat /etc/hostname
>> mybox
>>
>> What can be the problem? What should I do?
>
>

How did you manage to finish the system in less then a week? did you follow
all the book? The problem might be in /etc/passwd /etc/group or /etc/passwd
>
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Why are /usr/bin, /usr/sbin, /sbin in chroot command?

2016-12-27 Thread Michele Bucca
Il 28 dic 2016 2:14 AM, "ssmtpmailtesting ssmtpmailtesting" <
ssmtpmailtest...@gmail.com> ha scritto:
>
> http://www.linuxfromscratch.org/lfs/view/stable/chapter06/chroot.html
>
> chroot "$LFS" /tools/bin/env -i \
> HOME=/root  \
> TERM="$TERM"\
> PS1='\u:\w\$ '  \
> PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
> /tools/bin/bash --login +h
>
> Why are /usr/bin, /usr/sbin, /sbin, /bin in chroot command? Aren't these
directories empty after completing temporary system? Aren't all packages
installed in /tools/bin not in /bin, /usr/bin, /usr/sbin, /sbin?

the command sets some variables when inside the chroot. Yes these
directories are empty but when you will install the final system the sysyem
will use the programs installed in the final proper location instead of
those put inside /tools (as you can see /tools/bin is the last put inside
the PATH variable)
>
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Differenfe Between the GCC of Chapter 5 and the one of Chapter 6

2016-10-31 Thread Michele Bucca
>>
>> On Tuesday, 1 November 2016, Michele Bucca <michele.bu...@gmail.com>
wrote:
>>>
>>> > The cross-toolchain is extremely stripped down, and doesn't include
several libraries that many packages will need to compile. It is also setup
for a different target - we do that to isolate the final system from the
host and ensure that there are no dependencies on libraries from the host.
>>>
>>> Can These libraries that are not included  be added later and built
separately?
>>
>> I have never tried, but I would say it would require a lot of
customisation, basically I would say it is so hard, but probably possible.
You would need to edit current binaries, adjust config, and if you want to
delete /tools, well you get the idea.
>>
>>
>
> I think that it would take more time to accomplish this than it would to
complete the entirety of Chapter 6 w/out tests.

Ok, is there a way to stop the compile process and resume it later, eg the
next day? I can't leave my laptop on for 8 hours
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Differenfe Between the GCC of Chapter 5 and the one of Chapter 6

2016-10-31 Thread Michele Bucca
>> >
>> >
>>
>> i use a Intel Celeron n2840 with 4GB of RAM
>>
>>
> In your case, you are running a 2.16GHz CPU. You will save many hours by
not running the tests (I ran them on a Core2Duo @ 2.0GHz last night. It
took 8 hours to complete).
>
> I can't offer an exact estimation, but it will save a lot of time by not
running them.
>
Why building a cross-toolchain (chapter 5) takes less time?
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Differenfe Between the GCC of Chapter 5 and the one of Chapter 6

2016-10-31 Thread Michele Bucca
waiting 79 SBU to let gcc compile is a little too much for me. i plan to do
multiple builds of LFS. i want to experiment with the book.

Il 31 ott 2016 6:56 PM, "Chris Staub" <ch...@beaker67.com> ha scritto:

> On 10/31/2016 07:23 AM, Michele Bucca wrote:
>
>> What is the difference between the GCC of the temporary toolchain and
>> the one installed on the final system? What are the limitations of the
>> first one? Can i use the GCC of the toolchain as a regular compiler?
>>
>>
>>
>> Is there any particular reason you would want to do that?
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] Differenfe Between the GCC of Chapter 5 and the one of Chapter 6

2016-10-31 Thread Michele Bucca
What is the difference between the GCC of the temporary toolchain and the
one installed on the final system? What are the limitations of the first
one? Can i use the GCC of the toolchain as a regular compiler?
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] p.s. -- Re: [OT] Post questions that do not rely completely on the book

2016-09-30 Thread Michele Bucca
Il 30 set 2016 1:54 PM, "akhiezer"  ha scritto:
>
> > Date: Fri, 30 Sep 2016 12:24:50 +0100
> > From: lf...@cruziero.com (akhiezer)
> > Subject: Re: [lfs-support] [OT] Post questions that do not rely
completely
> >  on the book
> >
> .
> .
> >
> > > and here's my question. is there a way to build a LFS system using
busybox,
> > > e2fs-utils, glibc instead of the full blown standard linux utilities?
I
> > > would like to build a sort of clone of tinycorelinux for the sake of
> > > learning after I finish my LFS.
> > >
> > > http://tinycorelinux.net/
> > >
> > > I could manage to build the cli system on my own. I already did it
once, I
> > > connected it to the Internet and sent a ping to google. But how do I
get a
> > > vesa Xserver with a WM running? How do I install a gcc toolchain to
compile
> > > new software?
> >
> >
> > * clfs.org - incl 'embedded' book (& incl the ref to 'barebox'
bootloader).
> > * 'sabotage linux'
> > * 'alpine linux'
> > * 'void linux'
> > * elinux.org
> > * 'yocto'
> > * 'buildtools'
> > * 
>
>
>  - meant to add:
> ---
> * igor-zivkovic.from.hr/LFS
> * igor-zivkovic.from.hr/BLFS
> ---
>
>
>
> akh
>
Where did you find them? who made them? it's different from the original.
Nice :)
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] [OT] Post questions that do not rely completely on the book

2016-09-30 Thread Michele Bucca
I was wondering where i could ask some questions that are not covered in
lfs or blfs. for example:

- suggestions to improve the toolchain (adding a text editor and less can
really savs lifes if you want to read the logs, edit a simple script with a
typo that was created with cat > file.txt << "EOF"

- how to make a livecd with LFS? (found a hint on the website)

and here's my question. is there a way to build a LFS system using busybox,
e2fs-utils, glibc instead of the full blown standard linux utilities? I
would like to build a sort of clone of tinycorelinux for the sake of
learning after I finish my LFS.

http://tinycorelinux.net/

I could manage to build the cli system on my own. I already did it once, I
connected it to the Internet and sent a ping to google. But how do I get a
vesa Xserver with a WM running? How do I install a gcc toolchain to compile
new software?
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Perl make -k check fail

2016-09-28 Thread Michele Bucca
Il 28 set 2016 11:01 PM, "Bruce Dubbs" <bruce.du...@gmail.com> ha scritto:
>
> Michele Bucca wrote:
>>
>> Il 28 set 2016 10:31 PM, "Chris Fowler" <linx...@gmail.com> ha scritto:
>>>
>>>
>>> I've had test fail when they took too long to complete.  An example
>>> would be a module that for some reason will fail if execution of a
>>> test took longer than 10s.  I'm doing my build on a USB stick that is
>>> 2.0 and slow.
>
>
>> I'm doing my build on usb too...I wonder if I will be able to boot my
>> system on that when I will finish
>
>
> Should be OK.  There really isn't anything timing dependent in a base LFS
system.  About the only thing is a rootdelay=5 may be needed in the linux
line of the grub configuration file.
>
>
http://www.linuxtopia.org/online_books/linux_kernel/kernel_configuration/re58.html
>
>   -- Bruce
>
>
>
>
Can I Continue?
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Perl make -k check fail

2016-09-28 Thread Michele Bucca
Il 28 set 2016 10:31 PM, "Chris Fowler"  ha scritto:
>
> I've had test fail when they took too long to complete.  An example
> would be a module that for some reason will fail if execution of a
> test took longer than 10s.  I'm doing my build on a USB stick that is
> 2.0 and slow.
>
> Chris
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style

I'm doing my build on usb too...I wonder if I will be able to boot my
system on that when I will finish
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Perl make -k check fail

2016-09-28 Thread Michele Bucca
2016-09-28 12:44 GMT+00:00 Michele Bucca <michele.bu...@gmail.com>:
> 2016-09-28 11:24 GMT+00:00 Michele Bucca <michele.bu...@gmail.com>:
>> my perl check failed. Here's the result. What should I do?
>>
>> Failed 4 tests out of 2241, 99.82% okay.
>> ../cpan/Socket/t/getnameinfo.t
>> ../cpan/Time-Piece/t/02core_dst.t
>> ../dist/IO/t/io_multihomed.t
>> ../dist/IO/t/io_sock.t
>> ### Since not all tests were successful, you may want to run some of
>> ### them individually and examine any diagnostic messages they produce.
>> ### See the INSTALL document's section on "make test".
>> ### You have a good chance to get more information by running
>> ###   ./perl harness
>> ### in the 't' directory since most (>=80%) of the tests succeeded.
>> ### You may have to set your dynamic library search path,
>> ### LD_LIBRARY_PATH, to point to the build directory:
>> ###   setenv LD_LIBRARY_PATH `pwd`:$LD_LIBRARY_PATH; cd t; ./perl harness
>> ###   LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH;
>> cd t; ./perl harness
>> ###   export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; cd t; ./perl harness
>> ### for csh-style shells, like tcsh; or for traditional/modern
>> ### Bourne-style shells, like bash, ksh, and zsh, respectively.
>> Elapsed: 1241 sec
>> u=16.82  s=2.79  cu=884.07  cs=31.33  scripts=2241  tests=849273
>> make: *** [makefile:811: test] Error 1
>
> I've solved most of the problems.
> Only ../cpan/Time-Piece/t/02core_dst.t is now failing

I Read the INSTALL file. it says

> If individual tests fail, you can often run them by hand (from the main
> perl directory), e.g.,
>
> ./perl -MTestInit t/op/groups.t
>
> You should also read the individual tests to see if there are any helpful
> comments that apply to your system.  You may also need to setup your
> shared library path if you get errors like:
>
> /sbin/loader: Fatal Error: cannot map libperl.so
>
> The file t/README in the t subdirectory contains more information about
> running and modifying tests.

so I run

export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH ./perl -MTestInit
t/../cpan/Time-Piece/t/02core_dst.t

1..60
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
ok 31
ok 32
ok 33
ok 34
ok 35
ok 36
ok 37
ok 38
ok 39
ok 40
ok 41
ok 42
ok 43
ok 44
ok 45
ok 46
ok 47
ok 48
ok 49
ok 50
ok 51
ok 52
ok 53
ok 54
ok 55
not ok 56
#   Failed test at t/../cpan/Time-Piece/t/02core_dst.t line 134.
#  got: '2013-07-09 08:06:46 EDT'
# expected: '2013-07-09 08:07:11 EDT'
ok 57
ok 58
not ok 59
#   Failed test at t/../cpan/Time-Piece/t/02core_dst.t line 139.
#  got: '2013-01-09 07:06:46 EST'
# expected: '2013-01-09 07:07:11 EST'
ok 60
# Looks like you failed 2 tests of 60.

looks like it's not a serious problem is it?
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] Perl make -k check fail

2016-09-28 Thread Michele Bucca
my perl check failed. Here's the result. What should I do?

Failed 4 tests out of 2241, 99.82% okay.
../cpan/Socket/t/getnameinfo.t
../cpan/Time-Piece/t/02core_dst.t
../dist/IO/t/io_multihomed.t
../dist/IO/t/io_sock.t
### Since not all tests were successful, you may want to run some of
### them individually and examine any diagnostic messages they produce.
### See the INSTALL document's section on "make test".
### You have a good chance to get more information by running
###   ./perl harness
### in the 't' directory since most (>=80%) of the tests succeeded.
### You may have to set your dynamic library search path,
### LD_LIBRARY_PATH, to point to the build directory:
###   setenv LD_LIBRARY_PATH `pwd`:$LD_LIBRARY_PATH; cd t; ./perl harness
###   LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH;
cd t; ./perl harness
###   export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; cd t; ./perl harness
### for csh-style shells, like tcsh; or for traditional/modern
### Bourne-style shells, like bash, ksh, and zsh, respectively.
Elapsed: 1241 sec
u=16.82  s=2.79  cu=884.07  cs=31.33  scripts=2241  tests=849273
make: *** [makefile:811: test] Error 1
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] GCC Make check error

2016-09-23 Thread Michele Bucca
Il 23 set 2016 11:32 PM, "Bruce Dubbs" <bruce.du...@gmail.com> ha scritto:
>
> Michele Bucca wrote:
>>
>> Chapter 6.17
>>
>> I was running the tests on GCC but then they stopped. here's the output
>>
>>  === libatomic tests ===
>>
>> Schedule of variations:
>>  unix
>>
>> Running target unix
>> Using /tools/share/dejagnu/baseboards/unix.exp as board description
>> file for target.
>> Using /tools/share/dejagnu/config/unix.exp as generic interface file for
target.
>> Using ../../../../libatomic/testsuite/config/default.exp as
>> tool-and-target-specific interface file.
>> Running ../../../../libatomic/testsuite/libatomic.c/c.exp ...
>>
>>  === libatomic Summary ===
>>
>> # of expected passes44
>> # of unsupported tests5
>> make[4]: Leaving directory
>> '/sources/gcc-6.2.0/build/i686-pc-linux-gnu/libatomic/testsuite'
>> make[3]: Leaving directory
>> '/sources/gcc-6.2.0/build/i686-pc-linux-gnu/libatomic/testsuite'
>> make[3]: Entering directory
>> '/sources/gcc-6.2.0/build/i686-pc-linux-gnu/libatomic'
>> true  DO=all multi-do # make
>> make[3]: Leaving directory
>> '/sources/gcc-6.2.0/build/i686-pc-linux-gnu/libatomic'
>> make[2]: Leaving directory
>> '/sources/gcc-6.2.0/build/i686-pc-linux-gnu/libatomic'
>> make[1]: Leaving directory '/sources/gcc-6.2.0/build'
>> make: *** [Makefile:2242: do-check] Error 2
>> make: Target 'check' not remade because of errors.
>>
>> something about libatomic...
>
>
> There are some test failures, but not in libatomic.   They are quite a
bit earlier.  What does ../contrib/test_summary give you?  Did you check
against
>
>
>
http://www.linuxfromscratch.org/lfs/build-logs/7.10/i7-5820K/test-logs/083-gcc-6.2.0
>
> Search for FAIL. You may have a couple of failures not in the above, but
a couple of failures from 220,000+ tests is nothing to worry about.
>
>   -- Bruce
>

It seems all fine but this error makes me worried.

== gcc tests ==
Running target unix
FAIL: gcc.target/i386/pr65105-2.c scan-assembler por
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] hints tarball

2016-09-23 Thread Michele Bucca
Il 23 set 2016 7:41 PM, "Bruce Dubbs" <bruce.du...@gmail.com> ha scritto:
>
> Michele Bucca wrote:
>>
>> Il 23 set 2016 7:03 PM, "Bruce Dubbs" <bruce.du...@gmail.com> ha scritto:
>>>
>>>
>>> Michele Bucca wrote:
>>>>
>>>>
>>>> Il 23 set 2016 6:44 PM, "Bruce Dubbs" <bruce.du...@gmail.com> ha
scritto:
>>>>>
>>>>>
>>>>>
>>>>> Michele Bucca wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> Il 23 set 2016 5:15 PM, "Bruce Dubbs" <bruce.du...@gmail.com> ha
>>
>> scritto:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> J E GARROTT SR wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Is this still being updated?  I tried earlier and just a minute
agol
>>>>>>>>
>>>>>>>> Both time I got a "404 Not found" error.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> I've created the tarball but hints are not created very often and
>>
>> rarely
>>>>>>
>>>>>>
>>>>>>
>>>>>> updated.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> How do you create a Tarball?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> tar -jcf name.tar.bz3 file/dir1 file/dir2 ...
>>>
>>>
>>>
>>>> i was talking about the hints tarball, I thought there was some kind of
>>>> script for that
>>>>
>>>> i already know how to make tarballs infact i used that to backup my
>>>> toolchain. Plus i'm packaging my lfs system so i can install only what
I
>>>> want when i will do future builds
>>>
>>>
>>>
>>> Your question was a bit general.  Sometimes we get very new users that
>>
>> want answers to simple questions.
>>>
>>>
>>> We don't have a script for the hints tarball.  There may have been one
at
>>
>> one time.  There are not enough updates to hints to justify an admittedly
>> simple script.
>>>
>>>
>>> What exactly do you want to know?
>
>
>> If there was a way to download all the hints at one and pack them into a
>> tarball
>
>
> I've created the tarball manually.  Just download from
>
> http://www.linuxfromscratch.org/hints/downloads/
>
>
>   -- Bruce

Thanks :)

-- Michele
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] hints tarball

2016-09-23 Thread Michele Bucca
Il 23 set 2016 7:03 PM, "Bruce Dubbs" <bruce.du...@gmail.com> ha scritto:
>
> Michele Bucca wrote:
>>
>> Il 23 set 2016 6:44 PM, "Bruce Dubbs" <bruce.du...@gmail.com> ha scritto:
>>>
>>>
>>> Michele Bucca wrote:
>>>>
>>>>
>>>> Il 23 set 2016 5:15 PM, "Bruce Dubbs" <bruce.du...@gmail.com> ha
scritto:
>>>>>
>>>>>
>>>>>
>>>>> J E GARROTT SR wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> Is this still being updated?  I tried earlier and just a minute agol
>>>>>>
>>>>>> Both time I got a "404 Not found" error.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> I've created the tarball but hints are not created very often and
rarely
>>>>
>>>>
>>>> updated.
>>>
>>>
>>>
>>>> How do you create a Tarball?
>>>
>>>
>>>
>>> tar -jcf name.tar.bz3 file/dir1 file/dir2 ...
>
>
>> i was talking about the hints tarball, I thought there was some kind of
>> script for that
>>
>> i already know how to make tarballs infact i used that to backup my
>> toolchain. Plus i'm packaging my lfs system so i can install only what I
>> want when i will do future builds
>
>
> Your question was a bit general.  Sometimes we get very new users that
want answers to simple questions.
>
> We don't have a script for the hints tarball.  There may have been one at
one time.  There are not enough updates to hints to justify an admittedly
simple script.
>
> What exactly do you want to know?
>
>
>   -- Bruce

If there was a way to download all the hints at one and pack them into a
tarball

-- Michele
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] hints tarball

2016-09-23 Thread Michele Bucca
Il 23 set 2016 6:44 PM, "Bruce Dubbs" <bruce.du...@gmail.com> ha scritto:
>
> Michele Bucca wrote:
>>
>> Il 23 set 2016 5:15 PM, "Bruce Dubbs" <bruce.du...@gmail.com> ha scritto:
>>>
>>>
>>> J E GARROTT SR wrote:
>>>>
>>>>
>>>> Is this still being updated?  I tried earlier and just a minute agol
>>>>
>>>> Both time I got a "404 Not found" error.
>>>
>>>
>>>
>>> I've created the tarball but hints are not created very often and rarely
>>
>> updated.
>
>
>> How do you create a Tarball?
>
>
> tar -jcf name.tar.bz3 file/dir1 file/dir2 ...
>
>
>-- Bruce
>
i was talking about the hints tarball, I thought there was some kind of
script for that

i already know how to make tarballs infact i used that to backup my
toolchain. Plus i'm packaging my lfs system so i can install only what I
want when i will do future builds

-- Michele
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] hints tarball

2016-09-23 Thread Michele Bucca
Il 23 set 2016 5:15 PM, "Bruce Dubbs"  ha scritto:
>
> J E GARROTT SR wrote:
>>
>> Is this still being updated?  I tried earlier and just a minute agol
>>
>> Both time I got a "404 Not found" error.
>
>
> I've created the tarball but hints are not created very often and rarely
updated.
>
>   -- Bruce
>
>
How do you create a Tarball?

-- Michele
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] binutils test check: did it pass?

2016-09-22 Thread Michele Bucca
I've just finished to build binutils and I've run the tests, this was the result

=== ld Summary ===

# of expected passes1447
# of expected failures4
# of untested testcases1
# of unsupported tests12

/sources/binutils-2.27/build/ld/ld-new 2.27
make[5]: Leaving directory '/sources/binutils-2.27/build/ld'
make[4]: Leaving directory '/sources/binutils-2.27/build/ld'
make[3]: Leaving directory '/sources/binutils-2.27/build/ld'
make[2]: Leaving directory '/sources/binutils-2.27/build/ld'
make[2]: Entering directory '/sources/binutils-2.27/build/libiberty'
make[3]: Entering directory '/sources/binutils-2.27/build/libiberty/testsuite'
gcc -DHAVE_CONFIG_H -g -O2  -I..
-I../../../libiberty/testsuite/../../include  -o test-demangle \
../../../libiberty/testsuite/test-demangle.c ../libiberty.a
./test-demangle < ../../../libiberty/testsuite/demangle-expected
./test-demangle: 912 tests, 0 failures
./test-demangle < ../../../libiberty/testsuite/d-demangle-expected
./test-demangle: 269 tests, 0 failures
gcc -DHAVE_CONFIG_H -g -O2  -I..
-I../../../libiberty/testsuite/../../include  -DHAVE_CONFIG_H -I.. -o
test-pexecute \
../../../libiberty/testsuite/test-pexecute.c ../libiberty.a
./test-pexecute
gcc -DHAVE_CONFIG_H -g -O2  -I..
-I../../../libiberty/testsuite/../../include  -DHAVE_CONFIG_H -I.. -o
test-expandargv \
../../../libiberty/testsuite/test-expandargv.c ../libiberty.a
./test-expandargv
PASS: test-expandargv-0.
PASS: test-expandargv-1.
PASS: test-expandargv-2.
PASS: test-expandargv-3.
PASS: test-expandargv-4.
PASS: test-expandargv-5.
PASS: test-expandargv-6.
gcc -DHAVE_CONFIG_H -g -O2  -I..
-I../../../libiberty/testsuite/../../include  -DHAVE_CONFIG_H -I.. -o
test-strtol \
../../../libiberty/testsuite/test-strtol.c ../libiberty.a
./test-strtol
PASS: test-strtol-0.
PASS: test-strtol-1.
PASS: test-strtol-2.
PASS: test-strtol-3.
PASS: test-strtol-4.
PASS: test-strtol-5.
PASS: test-strtol-6.
PASS: test-strtol-7.
PASS: test-strtol-8.
PASS: test-strtol-9.
PASS: test-strtol-10.
PASS: test-strtol-11.
PASS: test-strtol-12.
PASS: test-strtol-13.
PASS: test-strtol-14.
PASS: test-strtol-15.
PASS: test-strtol-16.
PASS: test-strtol-17.
PASS: test-strtol-18.
PASS: test-strtol-19.
PASS: test-strtol-20.
PASS: test-strtol-21.
PASS: test-strtol-22.
PASS: test-strtol-23.
make[3]: Leaving directory '/sources/binutils-2.27/build/libiberty/testsuite'
make[2]: Leaving directory '/sources/binutils-2.27/build/libiberty'
make[1]: Nothing to be done for 'check-target'.
make[1]: Leaving directory '/sources/binutils-2.27/build'


is it good?

P.S Sorry if I'm sendind a lot of these e-mails that may sound of no
point, this is my first build...the second actually..during my first I
stopped in the middle of the process of creating the toolchain. It
just took too long (about 8 hours for toolchain's GCC).
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] doubts on Adjusting the toolchain (Chapter 6.10)

2016-09-21 Thread Michele Bucca
I've just finished to adjoust the toolchain. Now I am running the
tests to ensure "that the basic functions (compiling and linking) of
the adjusted toolchain are working as expected"

when I give the command

grep -o '/usr/lib.*/crt[lin].*succeeded' dummy.log

only these two pop up:

  /usr/lib/crti.o succeeded
  /usr/lib/crtn.o succeeded

Next, when I run:

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

I get:

  SEARCH_DIR("=/tools/i686-pc-linux-gnu/lib32")
  SEARCH_DIR("/usr/lib")
  SEARCH_DIR("/lib")
  SEARCH_DIR("=/tools/i686-pc-linux-gnu/lib");

Is the output above fine?

I'm uploading the  following files:

dummy.log
/tools/lib/gcc/i686-pc-linux-gnu/6.2.0/specs


dummy.log
Description: Binary data


specs
Description: Binary data
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style