Re: HLFS SVN 20070708 Chapter 6.10.1 Glibc Build

2007-08-10 Thread Wonkey Donkey
William Harrington wrote:
> On Aug 3, 2007, at 12:36 PM, Wonkey Donkey wrote:
>
>   
>> dl-support.c: In function '_dl_non_dynamic_init':
>> dl-support.c:256: error: stray '`' in program
>>
>> I have tried to remove the entire glibc directory and restarted the
>> glibc build a few times and it fails at exactly the same point each  
>> time.
>>
>> Does anybody have any ideas...
>>
>> Thanks.
>>
>> Steve.
>> 
>
> Steve,
>
> Talked to you earlier,
>
>
> I cannot reproduce this. Your input needs to be triple checked. I  
> copy and pasted from the book verbatim.
>
> I built the build up to the point where you are.
>
> Hey, got some test results, too!
>
> 1872:make[2]: *** [/sources/glibc-build/posix/tst-nice.out] Error 1
> 1992:make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
> 4067:make[2]: *** [/sources/glibc-build/elf/check-localplt.out] Error 1
>
> I know you are typing out the commands and looking from another  
> computer.
> Triple check, and then triple check again, and have someone else  
> quadruple check for you.
>
> Plus, you were doing this at 1AM.
>
> Sincerely,
>
> William
>   
Ok, thanks for the info and checking guys.

The fact this has reproduced itself a number of times suggests I am 
typing in something incorrectly. At least the error is consistent.

I'm assuming at this point that it is something I have typed incorrectly 
during the Chapter 6 glibc setup, as everything up to this point has 
worked as described.

I shall return to the beginning of the glibc build in this section and 
try again. Failing that, I will try lifting the input off the web page 
into some text files, to copy over to the build system and see how that 
goes.

Am I right in saying I can simply remove the glibc source and build 
directories and start again from the beginning of this stage? I'll do 
this unless anyone mentions otherwise.

Will keep the list updated with my progress and where it is I went wrong 
(if i can find that out of course!).

Thanks again guys.

Steve.

-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page


Re: HLFS SVN 20070708 Chapter 6.10.1 Glibc Build

2007-08-10 Thread Wonkey Donkey
Randy McMurchy wrote:
> Wonkey Donkey wrote these words on 08/09/07 18:58 CST:
>
>   
>> Any thoughts here please ?
>>
>> I'm struggling with this and it is definitely reproducable.
>> 
>
> I wonder if you'd get better response if you identified yourself a
> bit better? I mean, just the other day an LFS Editor described some
> malfunction he was incurring as "wonkey".
>
> I'm not saying it has anything to do with anything, I'm just guessing.
>
>   
Unwonkey Conkey ?

:)

Steve.

-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page


Re: HLFS Help - Chapter 6

2007-07-27 Thread Wonkey Donkey
Wonkey Donkey wrote:
> Hi all,
>
> I am new to the mailing list and HLFS, and have just started having a go 
> at building HLFS SVN-20070708.
>
> My progress so far is up to Chapter 6, building Glibc 2.5, and all has 
> gone well until now.
>
> Approximately half way down the page, having built Glibc the first time 
> and removed the 'configparms' file, we then recreate a second 
> configparms file (The section in light blue lettering) and rebuild a 
> second time.
>
> When I try to run that second build, it stops almost immediately, 
> stating that there is a missing separator in the configparms file, like so:
>
> make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.5 objdir='pwd' all
> make[1]: Entering directory '/sources/glibc-2.5'
> /sources/glibc-build/configparms:6: *** missing separator.  Stop.
> make[1]: Leaving directory '/sources/glibc-2.5'
> make: *** [all] Error 2
>
> I have removed and retyped the contents of this file 3 times now and had 
> the same error message when trying to build again. I've also had a 
> friend look over the file contents and he agrees the content is as per 
> the instructions:
>
> echo 'CC = gcc -fPIE
> CXX = g++ -fPIE
> CFLAGS-sln.c += -fno-PIC -fno-PIE
> +link = $(CC) -nostdlib -nostartfiles -fPIE -pie -o $@
> $(sysdep-LDFLAGS) $(config-LDFLAGS) $(LDFLAGS) $(LDFLAGS-$(@F))
> -Wl,-z,combreloc -Wl,-z,relro -Wl,-z,now $(hashstyle-LDFLAGS)
> $(addprefix $(csu-objpfx),S$(start-installed-name))
> $(+preinit) `$(CC) --print-file-name=crtbeginS.o`
> $(filter-out $(addprefix $(csu-objpfx),start.o
> $(start-installed-name))
> $(+preinit) $(link-extra-libs)
> $(common-objpfx)libc% $(+postinit),$^)
> $(link-extra-libs) $(link-libc) `$(CC) --print-file-name=crtendS.o` 
> $(+postinit)
> ' > configparms
>
> If anybody else has experienced this or has an idea what might be wrong, 
> I'd appreciate the info.
>
> Regards,
>
> Steve.
>
>
>
>   
Ok, I think I have spotted the problem.

On the seventh line down, as per the above code, there are 2 open 
brackets, one close bracket, then a comma. After it, there is one open 
bracket and two close brackets.

Either the comma needs to be moved to the end of 
'S$(start-installed-name))', OR, the final close bracket at the end of 
'S$(start-installed-name))' needs to be moved to before the comma 
'$(addprefix $(csu-objpfx)),'

Any ideas guys ? I'm struggling a bit here.

Steve.

-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page


HLFS Help - Chapter 6

2007-07-26 Thread Wonkey Donkey
Hi all,

I am new to the mailing list and HLFS, and have just started having a go 
at building HLFS SVN-20070708.

My progress so far is up to Chapter 6, building Glibc 2.5, and all has 
gone well until now.

Approximately half way down the page, having built Glibc the first time 
and removed the 'configparms' file, we then recreate a second 
configparms file (The section in light blue lettering) and rebuild a 
second time.

When I try to run that second build, it stops almost immediately, 
stating that there is a missing separator in the configparms file, like so:

make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.5 objdir='pwd' all
make[1]: Entering directory '/sources/glibc-2.5'
/sources/glibc-build/configparms:6: *** missing separator.  Stop.
make[1]: Leaving directory '/sources/glibc-2.5'
make: *** [all] Error 2

I have removed and retyped the contents of this file 3 times now and had 
the same error message when trying to build again. I've also had a 
friend look over the file contents and he agrees the content is as per 
the instructions:

echo 'CC = gcc -fPIE
CXX = g++ -fPIE
CFLAGS-sln.c += -fno-PIC -fno-PIE
+link = $(CC) -nostdlib -nostartfiles -fPIE -pie -o $@
$(sysdep-LDFLAGS) $(config-LDFLAGS) $(LDFLAGS) $(LDFLAGS-$(@F))
-Wl,-z,combreloc -Wl,-z,relro -Wl,-z,now $(hashstyle-LDFLAGS)
$(addprefix $(csu-objpfx),S$(start-installed-name))
$(+preinit) `$(CC) --print-file-name=crtbeginS.o`
$(filter-out $(addprefix $(csu-objpfx),start.o
$(start-installed-name))
$(+preinit) $(link-extra-libs)
$(common-objpfx)libc% $(+postinit),$^)
$(link-extra-libs) $(link-libc) `$(CC) --print-file-name=crtendS.o` $(+postinit)
' > configparms

If anybody else has experienced this or has an idea what might be wrong, 
I'd appreciate the info.

Regards,

Steve.



-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page