This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc 4.3.2: undefined reference to `__fortify_fail@GLIBC_PRIVATE'


Hello Mr. Morin,

My mistake. The crosstool-ng version is 1.5.2

The cause to the problem is probably that the intel compiler is mixing between glib 2.9 libraries created with crosstool and the
ones installed in /usr/lib (default glib).


The Intel compiler support team is checking the problem.

Thanks.

----- Original Message ----- From: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
To: <crossgcc@sourceware.org>
Cc: "Zvi Vered" <veredz72@gmail.com>
Sent: Wednesday, January 27, 2010 8:39 PM
Subject: Re: gcc 4.3.2: undefined reference to `__fortify_fail@GLIBC_PRIVATE'



Hello Zvi, All!

On Wednesday 27 January 2010 09:13:03 Zvi Vered wrote:
I built gcc 4.3.2 for x86-ia32 using crosstool 5.2

I'm not aware of anything called crosstool 5.2. The latest original crosstool was 0.43 (~3 years ago). The latest crosstool-NG was 1.5.3 (a few weeks back).

My application uses librt.a

What application?


When I link my applicaon with librt.a I get:
/opt/toolchain/i686-nptl-linux-gnu/i686-nptl-linux-gnu/sys-root/usr/lib/librt.so:
undefined reference to `__fortify_fail@GLIBC_PRIVATE'

This is not enough to see the problem. Maybe something like (wild guesses): http://www.minimyth.org/forum/viewtopic.php?p=8436&sid=355b78eefc1bd24437b16fbc92082ec4 http://forum.amule.org/index.php?action=printpage;topic=11834.0 http://projects.linuxtogo.org/pipermail/openembedded-devel/2009-December/015653.html

( found by googling for: "librt.so" undefined reference to "__fortify_fail" )

All files are compiled with Intel Compiler 11.1/064. But librt.a is
taken from gcc 4.3.2

Heck! Ask the icc guys, maybe?


Regards,
Yann E. MORIN.

--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
`------------------------------^-------^------------------^--------------------'





--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]