Skip to contentSkip to conversation

float, va_arg, printf on x86_64

Buildroot bbj17 at gmx.de 2 participants 2 messages Aug 4, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

I found the bug. IT seems to be a bad combination of Host-GCC and Target-GCC:

Host1-Environment:
GNU make version '3.81'
C compiler version '4.2.1'
C++ compiler version '4.2.1'

Target architecture = x86_64
Target GCC => 4.3.3
printf %f 7 => error => -26815615859...

----------------------------------

Host2-Environment:
GNU make version '3.81'
C compiler version '4.2.1'
C++ compiler version '4.2.1'

Target architecture = x86_64
Target GCC => 4.4.1
printf %f 7 => OK => 7.0000

-----------------------------------

Host3-Environment:
GNU make version '3.81'
C compiler version '4.3.2'
C++ compiler version '4.3.2'

Target architecture = x86_64
Target GCC => 4.3.3
printf %f 7 => OK => 7.0000

Signature · 2 lines
GRATIS f?r alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"bbj17" == bbj17 <[email protected]> writes:

bbj17> Hi,

bbj17> I found the bug. IT seems to be a bad combination of Host-GCC and Target-GCC:

Hmm, strange, but 4.2.1 is quite old (you should atleast consider to upgrade to 4.2.4).

Thanks for letting us know.

Signature · 1 line
Bye, Peter Korsgaard