Glibc-2.6.1 and binutils-2.18-r1

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Glibc-2.6.1 and binutils-2.18-r1

Mathieu Chauvel
Hello
I've a big problem to compile glibc-2.6.1 and binutils-2.18.r1 on my alpha (SX164)

for glibc i've this error :
/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-alpha-unknown-linux-gnu-nptl/signal/sigsuspend.os.dt -MT /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-alpha-unknown-linux-gnu-nptl/signal/sigsuspend.os
../sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Assembler messages:
../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:41: Error: previous CFI entry not closed (missing .cfi_endproc)
../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:43: Error: .cfi_endproc without corresponding .cfi_startproc
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-alpha-unknown-linux-gnu-nptl/signal/sigsuspend.os] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1/signal'
make[1]: *** [signal/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1'
make: *** [all] Error 2
 *
 * ERROR: sys-libs/glibc-2.6.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3325:  Called eblit-run 'src_compile'
 *             environment, line 1066:  Called eblit-glibc-src_compile
 *       src_compile.eblit, line  179:  Called toolchain-glibc_src_compile
 *       src_compile.eblit, line  122:  Called die
 * The specific snippet of code:
 *              make PARALLELMFLAGS="${MAKEOPTS}" || die "make for ${ABI} failed"
 *  The die message:
 *   make for default failed






And for the binutils :
/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd/trad-core.c:122: error: for each function it appears in.)
make[4]: *** [trad-core.lo] Erreur 1
make[4]: *** Attente des tâches non terminées....
libtool: compile:  alpha-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd -I. -DTRAD_CORE -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd/../include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -mcpu=pca56 -mieee -pipe -O2 -c /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd/elf32.c -o elf32.o >/dev/null 2>&1
make[4]: quittant le répertoire « /var/tmp/portage/sys-devel/binutils-2.18-r1/work/build/bfd »
make[3]: *** [all-recursive] Erreur 1
make[3]: quittant le répertoire « /var/tmp/portage/sys-devel/binutils-2.18-r1/work/build/bfd »
make[2]: *** [all] Erreur 2
make[2]: quittant le répertoire « /var/tmp/portage/sys-devel/binutils-2.18-r1/work/build/bfd »
make[1]: *** [all-bfd] Erreur 2
make[1]: quittant le répertoire « /var/tmp/portage/sys-devel/binutils-2.18-r1/work/build »
make: *** [all] Erreur 2
 *
 * ERROR: sys-devel/binutils-2.18-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2704:  Called toolchain-binutils_src_compile
 *             environment, line 3243:  Called die
 * The specific snippet of code:
 *       emake all || die "emake failed";
 *  The die message:
 *   emake failed


So if you have a idea !!!

thx for your help.
Reply | Threaded
Open this post in threaded view
|

Re: Glibc-2.6.1 and binutils-2.18-r1

Jose Luis Rivero
On Wed, Mar 05, 2008 at 11:02:40AM -0800, Mathieu Chauvel wrote:
>
> Hello
> I've a big problem to compile glibc-2.6.1 and binutils-2.18.r1 on my alpha
> (SX164)

This is an old and known friend, unfortunately.

>
> for glibc i've this error :
> ../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:41: Error: previous CFI entry
> not closed (missing .cfi_endproc)

Yup, CFI errors are caused by the binutils version.

> And for the binutils :
> /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd/trad-core.c:122:

The error is a bit before this, something related to 'PAGE_SIZE'
undeclared, which was part of linux-header but was removed in recent
versions.

>
> So if you have a idea !!!
>

From the top of my head:

- Force a downgrade on linux-headers (emerge -av =linux-headers-2.6.17-r2)
- Install new binutils
- Reinstall the current linux-headers
- Install new glibc

This should fix the mess, sorry for the problem. (I should write a
gentoo-alpha-faq entry for this). This should be fixed when the new
2008.0 appears.

> thx for your help.

A pleasure.

--
Jose Luis Rivero <[hidden email]>
Gentoo/Doc Gentoo/Alpha

--
[hidden email] mailing list

Reply | Threaded
Open this post in threaded view
|

Re: Glibc-2.6.1 and binutils-2.18-r1

Mathieu Chauvel
THX.

Compil OK.