t-artistik / qtscriptgenerator

Automatically exported from code.google.com/p/qtscriptgenerator
0 stars 0 forks source link

LD in x11-libs/qtscriptgenerator-0.1.0 fails #46

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I am using a hardened gcc-3.4 with "--fforce-addr" and I cannot emerge
qtscriptgenerator-0.1.0.

i686-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags
-Wl,--hash-style=both -Wl,--sort-common -o generator ast.o lexer.o list.o
parser.o smallobject.o control.o visitor.o default_visitor.o dumptree.o
tokens.o binder.o codemodel.o type_compiler.o name_compiler.o
declarator_compiler.o class_compiler.o codemodel_finder.o compiler_utils.o
preprocessor.o generator.o main.o reporthandler.o typeparser.o typesystem.o
asttoxml.o fileout.o generatorset.o metajava.o customtypes.o
abstractmetabuilder.o abstractmetalang.o prigenerator.o 
generatorsetqtscript.o
metaqtscriptbuilder.o metaqtscript.o classgenerator.o shellgenerator.o
shellimplgenerator.o shellheadergenerator.o setupgenerator.o docgenerator.o
moc_generator.o moc_fileout.o moc_generatorset.o moc_prigenerator.o
moc_generatorsetqtscript.o moc_classgenerator.o moc_shellgenerator.o
moc_shellimplgenerator.o moc_shellheadergenerator.o moc_setupgenerator.o
qrc_generator.o    -L/usr/lib/qt4 -lQtXml -L/usr/lib/qt4 -pthread -pthread
-lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
`.L1135' referenced in section
`.gnu.linkonce.r._ZN3rpp17pp_macro_expander23skip_argument_variadicsIPKcEET
_RKSt6vectorISsSaISsEEPNS_8pp_macroES4_S4_'
of main.o: defined in discarded section
`.gnu.linkonce.t._ZN3rpp17pp_macro_expander23skip_argument_variadicsIPKcEET
_RKSt6vectorISsSaISsEEPNS_8pp_macroES4_S4_'
of main.o
`.L1138' referenced in section
`.gnu.linkonce.r._ZN3rpp17pp_macro_expander23skip_argument_variadicsIPKcEET
_RKSt6vectorISsSaISsEEPNS_8pp_macroES4_S4_'
of main.o: defined in discarded section
`.gnu.linkonce.t._ZN3rpp17pp_macro_expander23skip_argument_variadicsIPKcEET
_RKSt6vectorISsSaISsEEPNS_8pp_macroES4_S4_'
of main.o
`.L1147' referenced in section
`.gnu.linkonce.r._ZN3rpp17pp_macro_expander23skip_argument_variadicsIPKcEET
_RKSt6vectorISsSaISsEEPNS_8pp_macroES4_S4_'
of main.o: defined in discarded section
`.gnu.linkonce.t._ZN3rpp17pp_macro_expander23skip_argument_variadicsIPKcEET
_RKSt6vectorISsSaISsEEPNS_8pp_macroES4_S4_'
of main.o
`.L1137' referenced in section
`.gnu.linkonce.r._ZN3rpp17pp_macro_expander23skip_argument_variadicsIPKcEET
_RKSt6vectorISsSaISsEEPNS_8pp_macroES4_S4_'
of main.o: defined in discarded section
`.gnu.linkonce.t._ZN3rpp17pp_macro_expander23skip_argument_variadicsIPKcEET
_RKSt6vectorISsSaISsEEPNS_8pp_macroES4_S4_'
of main.o
`.L1143' referenced in section
`.gnu.linkonce.r._ZN3rpp17pp_macro_expander23skip_argument_variadicsIPKcEET
_RKSt6vectorISsSaISsEEPNS_8pp_macroES4_S4_'
of main.o: defined in discarded section
`.gnu.linkonce.t._ZN3rpp17pp_macro_expander23skip_argument_variadicsIPKcEET
_RKSt6vectorISsSaISsEEPNS_8pp_macroES4_S4_'
of main.o
`.L1145' referenced in section
`.gnu.linkonce.r._ZN3rpp17pp_macro_expander23skip_argument_variadicsIPKcEET
_RKSt6vectorISsSaISsEEPNS_8pp_macroES4_S4_'
of main.o: defined in discarded section
`.gnu.linkonce.t._ZN3rpp17pp_macro_expander23skip_argument_variadicsIPKcEET
_RKSt6vectorISsSaISsEEPNS_8pp_macroES4_S4_'
of main.o
`.L1251' referenced in section
`.gnu.linkonce.r._ZN3rpp17pp_macro_expander23skip_argument_variadicsIPKcEET
_RKSt6vectorISsSaISsEEPNS_8pp_macroES4_S4_'
of main.o: defined in discarded section
`.gnu.linkonce.t._ZN3rpp17pp_macro_expander23skip_argument_variadicsIPKcEET
_RKSt6vectorISsSaISsEEPNS_8pp_macroES4_S4_'
of main.o
`.L1254' referenced in section
`.gnu.linkonce.r._ZN3rpp17pp_macro_expander23skip_argument_variadicsIPKcEET
_RKSt6vectorISsSaISsEEPNS_8pp_macroES4_S4_'
of main.o: defined in discarded section
`.gnu.linkonce.t._ZN3rpp17pp_macro_expander23skip_argument_variadicsIPKcEET
_RKSt6vectorISsSaISsEEPNS_8pp_macroES4_S4_'
of main.o
`.L1263' referenced in section
`.gnu.linkonce.r._ZN3rpp17pp_macro_expander23skip_argument_variadicsIPKcEET
_RKSt6vectorISsSaISsEEPNS_8pp_macroES4_S4_'
of main.o: defined in discarded section
`.gnu.linkonce.t._ZN3rpp17pp_macro_expander23skip_argument_variadicsIPKcEET
_RKSt6vectorISsSaISsEEPNS_8pp_macroES4_S4_'
of main.o
`.L1253' referenced in section
`.gnu.linkonce.r._ZN3rpp17pp_macro_expander23skip_argument_variadicsIPKcEET
_RKSt6vectorISsSaISsEEPNS_8pp_macroES4_S4_'
of main.o: defined in discarded section
`.gnu.linkonce.t._ZN3rpp17pp_macro_expander23skip_argument_variadicsIPKcEET
_RKSt6vectorISsSaISsEEPNS_8pp_macroES4_S4_'
of main.o
`.L1259' referenced in section
`.gnu.linkonce.r._ZN3rpp17pp_macro_expander23skip_argument_variadicsIPKcEET
_RKSt6vectorISsSaISsEEPNS_8pp_macroES4_S4_'
of main.o: defined in discarded section
`.gnu.linkonce.t._ZN3rpp17pp_macro_expander23skip_argument_variadicsIPKcEET
_RKSt6vectorISsSaISsEEPNS_8pp_macroES4_S4_'
of main.o
`.L1261' referenced in section
`.gnu.linkonce.r._ZN3rpp17pp_macro_expander23skip_argument_variadicsIPKcEET
_RKSt6vectorISsSaISsEEPNS_8pp_macroES4_S4_'
of main.o: defined in discarded section
`.gnu.linkonce.t._ZN3rpp17pp_macro_expander23skip_argument_variadicsIPKcEET
_RKSt6vectorISsSaISsEEPNS_8pp_macroES4_S4_'
of main.o
collect2: ld returned 1 exit status
make: *** [generator] Error 1
 *
 * ERROR: x11-libs/qtscriptgenerator-0.1.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2787:  Called die
 * The specific snippet of code:
 *       emake || die "make generator failed";
 *  The die message:
 *   make generator failed
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * The ebuild environment file is located at
'/var/tmp/portage/x11-libs/qtscriptgenerator-0.1.0/temp/environment'.
 *
>>> Failed to emerge x11-libs/qtscriptgenerator-0.1.0

Portage 2.1.6.13 (selinux/2007.0/x86/hardened, gcc-3.4.6,
glibc-2.9_p20081201-r2, 2.6.29-hardened_b5 i686)
=================================================================
System uname:
Linux-2.6.29-hardened_b5-i686-Genuine_Intel-R-_CPU_T2050_@_1.60GHz-with-
gentoo-1.12.12
Timestamp of tree: Tue, 16 Jun 2009 02:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -fforce-addr -fomit-frame-pointer -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
/etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d
/etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d
/etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -fforce-addr -fomit-frame-pointer -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="ccache distlocks fixpackages loadpolicy parallel-fetch protect-
owned
sandbox selinux sesandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.kaist.ac.kr/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags -Wl,--hash-
style=both
-Wl,--sort-common"
MAKEOPTS="-j3"
USE="X acl acpi alsa bash-completion berkdb branding bzip2 cairo cdr cjk 
cli
cracklib crypt cups custom-cflags custom-cxxflags dbus doc dri dvd dvdr 
dvdread
emboss encode examples expat fam fontconfig fortran gdbm gif git gnutls gpm
gstreamer hal handbook hardened iconv ieee1394 ipv6 isdnlog java java6 jpeg
jpeg2k kde latex ldap libnotify lzo mad midi mikmod mmx mmxext mng mp3 mpeg
mudflap ncurses networkmanager nls nptl nptlonly ogg openexr opengl openmp 
pam
pcre pdf perl pic png policykit ppds pppd pulseaudio python qt qt3support 
qt4
quicktime readline reflection sdl selinux session spell spl sse sse2 ssl
startup-notification svg tcpd tiff truetype unicode usb vim-syntax vorbis
webkit win32codecs x86 xcb xcomposite xml xorg xpm xv zlib" 
ALSA_CARDS="ali5451
als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1        emu10k1x 
ens1370
ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m       maestro3 
trident
usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym 
copy
dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat 
linear
meter mmap_emul mulaw multi null plug rate route share shm softvol"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm
authn_default authn_file authz_dbm authz_default authz_groupfile authz_host
authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir
disk_cache env expires ext_filter file_cache filter headers include info
log_config logio mem_cache mime mime_magic negotiation rewrite setenvif 
speling
status unique_id userdir usertrack vhost_alias" ELIBC="glibc"
INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb 
ncurses
text"
USERLAND="GNU"
VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 
imstt
intel  mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge 
savage     
siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via 
vmware        
voodoo"

From Gentoo. I just report a Gentoo bug:http://bugs.gentoo.org/274458. And 
QT Herd suggest me to file an issue here.

Original issue reported on code.google.com by Secluded...@gmail.com on 28 Jun 2009 at 6:50

GoogleCodeExporter commented 8 years ago
Additional information: Even I drops Wl,-O1 -Wl,--as-needed 
-Wl,--enable-new-dtags -
Wl,--hash-style=both -Wl,--sort-common and -fforce-addr, I still get this error.

Original comment by Secluded...@gmail.com on 28 Jun 2009 at 6:51