dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regarding REAL_EXIT


From: Mohamed Shafi
Subject: Re: Regarding REAL_EXIT
Date: Sun, 8 Oct 2006 21:08:50 -0700 (PDT)

The problem was with the dejagnu itself.... i forgot to mention the version of 
the Dejagnu that i was using, and it was 1.4.3. This had some problem with the  
REAL_EXIT.
I even didnt apply the path to 1.4.3 for this problem.
When i used 1.4.4 for testing it worked out fine.

Thanks for the reply

----- Original Message ----
From: Ben Elliston <address@hidden>
To: Mohamed Shafi <address@hidden>
Cc: address@hidden
Sent: Sunday, October 8, 2006 5:09:48 PM
Subject: Re: Regarding REAL_EXIT

Hi.

> output is testglue.o:(.text+0x20e): undefined reference to `___real__exit'
> /usr/lib/gcc/mytarget-elf/3.4.6/../../../../mytarget-elf/bin/ld: final link 
> failed: Nonrepresentable section on output
> collect2: ld returned 1 exit status

When you set needs_status_wrapper to 1 for a target, it's up to the
GCC test harness to adjust the linker flags to add the --wrap option.
This will wrap your exit function with a wrapped version that outputs
a some text to indicate success/failure and then calls the real exit
function.

Why isn't your setup doing that?  Take a look at gcc.log.

Cheers, Ben









reply via email to

[Prev in Thread] Current Thread [Next in Thread]