public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* gcc 4.3.2: undefined reference to `__fortify_fail@GLIBC_PRIVATE'
@ 2010-01-27  8:13 Zvi Vered
  2010-01-27 18:39 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Zvi Vered @ 2010-01-27  8:13 UTC (permalink / raw)
  To: crossgcc

Hello,

I built gcc 4.3.2 for x86-ia32 using crosstool 5.2

My application uses librt.a

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'

When I linked with librt.a in /usr/lib (gcc 4.1.2 installed with Red
Hat) I got no link errors.

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

What is the cause to the problem ?

Thanks.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gcc 4.3.2: undefined reference to `__fortify_fail@GLIBC_PRIVATE'
  2010-01-27  8:13 gcc 4.3.2: undefined reference to `__fortify_fail@GLIBC_PRIVATE' Zvi Vered
@ 2010-01-27 18:39 ` Yann E. MORIN
  2010-01-28 18:36   ` Zvi Vered
  0 siblings, 1 reply; 3+ messages in thread
From: Yann E. MORIN @ 2010-01-27 18:39 UTC (permalink / raw)
  To: crossgcc; +Cc: Zvi Vered

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gcc 4.3.2: undefined reference to `__fortify_fail@GLIBC_PRIVATE'
  2010-01-27 18:39 ` Yann E. MORIN
@ 2010-01-28 18:36   ` Zvi Vered
  0 siblings, 0 replies; 3+ messages in thread
From: Zvi Vered @ 2010-01-28 18:36 UTC (permalink / raw)
  To: Yann E. MORIN, crossgcc

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-01-28 18:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-27  8:13 gcc 4.3.2: undefined reference to `__fortify_fail@GLIBC_PRIVATE' Zvi Vered
2010-01-27 18:39 ` Yann E. MORIN
2010-01-28 18:36   ` Zvi Vered

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).