On Friday 11 June 2010 01:03:58 Heinz Wiesinger wrote: > 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? I have no idea what I did, but after some recompiles with the same options it suddenly worked. Very strange :/ Grs, Heinz
Attachment:
signature.asc
Description: This is a digitally signed message part.