Cross compiler issues with gcc-4.4.4

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

 



Hi!

I'm trying to build a cross compiler that compiles x86_64 code on a i486 host, 
both Linux. I've done this a couple of times before and it always worked 
without any issues. However, starting with gcc-4.4.4 I get warnings like

> warning: visibility attribute not supported in this configuration; ignored

or errors like

> relocation R_X86_64_PC32 against symbol 
> `QPalette::color(QPalette::ColorGroup, QPalette::ColorRole) const' can not 
> be used when making a shared object; recompile with -fPIC

I'm definite this is not a source code issue. The same code compiles fine 
without warnings on a native x86_64 gcc-4.4.4, as well as on a gcc-4.4.3 
x86_64 cross compiler.

I have attached the script I am using to build my gcc (a Slackware Linux 
package build script). The script is written for gcc-4.4.3 and works fine 
there. I use exactly the same script for 4.4.4 (with a version change) and I 
get above errors.

Did something change between 4.4.3 and 4.4.4 that I need to take into account 
here? Or is this a bug?

Grs,
Heinz

Attachment: cross-gcc.tar.gz
Description: application/compressed-tar

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux