You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2011/03/14 20:47:29 UTC

[jira] Assigned: (TS-705) Fail to compile on Fedora testing rawhide

     [ https://issues.apache.org/jira/browse/TS-705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom reassigned TS-705:
--------------------------------

    Assignee: Leif Hedstrom

> Fail to compile on Fedora testing rawhide
> -----------------------------------------
>
>                 Key: TS-705
>                 URL: https://issues.apache.org/jira/browse/TS-705
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 2.1.5
>         Environment: Fail to build on FC testing
>            Reporter: Zhao Yongming
>            Assignee: Leif Hedstrom
>             Fix For: 2.1.7
>
>
> here is the error, and some env information
> g++ -DHAVE_CONFIG_H -I. -I../lib/ts  -I../iocore/eventsystem -I../iocore/net -I../iocore/aio -I../iocore/hostdb -I../iocore/cache -I../iocore/cluster -I../iocore/utils -I../iocore/dns -I../lib/records -I./http -I./logging -I./http/remap -I./hdrs -I../mgmt -I../mgmt/preparse -I../mgmt/utils -I./api/ts -I../lib -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT -Dlinux  -g -pipe -Wall -Werror -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof  -MT CoreUtils.o -MD -MP -MF .deps/CoreUtils.Tpo -c -o CoreUtils.o CoreUtils.cc
> CoreUtils.cc: In static member function 'static void CoreUtils::find_stuff(StuffTest_f)':
> CoreUtils.cc:546:5: error: 'coress.core_stack_state::pc' may be used uninitialized in this function [-Werror=uninitialized]
> CoreUtils.cc:546:5: error: 'coress.core_stack_state::framep' may be used uninitialized in this function [-Werror=uninitialized]
> cc1plus: all warnings being treated as errors
> make[2]: *** [CoreUtils.o] Error 1
> make[2]: Leaving directory `/root/rpmbuild/BUILD/trafficserver-2.1.6-unstable/proxy'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/rpmbuild/BUILD/trafficserver-2.1.6-unstable/proxy'
> make: *** [all-recursive] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.AgjVUo (%build)
> RPM build errors:
>     user zym does not exist - using root
>     user zym does not exist - using root
>     user zym does not exist - using root
>     Bad exit status from /var/tmp/rpm-tmp.AgjVUo (%build)
> [root@unknown-10-62-163-x ~]# gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.6.0/lto-wrapper
> Target: x86_64-redhat-linux
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
> Thread model: posix
> gcc version 4.6.0 20110304 (Red Hat 4.6.0-0.12) (GCC) 
> [root@unknown-10-62-163-x ~]# rpm -q coreutils
> coreutils-8.10-5.fc16.x86_64
> [root@unknown-10-62-163-x ~]# cat /etc/fedora-release 
> Fedora release 16 (Rawhide)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira