# New Ticket Created by  Stephen Simmons 
# Please include the string:  [perl #58270]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58270 >


[Note: this is a cut and paste from ./parrotbug ... SMTP is not configured on 
my machine]

---
osname= linux
osvers= 2.6.9-22.18.bz155725.elsmp
arch=   x86_64-linux-thread-multi
cc=     gcc
---
Flags:
     category=install
     severity=critical
     ack=no
---
make failed on the following compilation, on revisions 30353 and 30457
(and a couple of others in between).  Additional information follows
this output listing.

--------------
gcc -o miniparrot src/main.o src/null_config.o \
-Wl,-rpath=/users/ssimmons/parrot/blib/lib -L/users/ssimmons/parrot/blib/lib 
-lparrot  -lresolv
-lnsl -ldl -lm -lcrypt -lutil -lpthread -lrt -lgmp -lreadline -lncurses 
-lcrypto  -Wl,-E
src/main.o(.text+0x39): In function `main':
src/main.c:52: undefined reference to `Parrot_new'
src/main.o(.text+0x46):src/main.c:53: undefined reference to `imcc_initialize'
src/main.o(.text+0x5b):src/main.c:58: undefined reference to 
`string_from_cstring'
src/main.o(.text+0x67):src/main.c:58: undefined reference to 
`Parrot_set_executable_name'
src/main.o(.text+0x78):src/main.c:60: undefined reference to `parseflags'
src/main.o(.text+0x90):src/main.c:61: undefined reference to `imcc_run'
src/main.o(.text+0x9c):src/main.c:65: undefined reference to `Parrot_destroy'
src/main.o(.text+0xaa):src/main.c:66: undefined reference to `Parrot_exit'
src/null_config.o(.text+0x11): In function `Parrot_set_config_hash':
src/null_config.c:29: undefined reference to `Parrot_set_config_hash_internal'
collect2: ld returned 1 exit status
make: *** [miniparrot] Error 1
--------------

$ cat /etc/redhat-release
Red Hat Enterprise Linux WS release 4 (Nahant Update 4)

$ uname -a
Linux lx-ssimmons.cdc.maxim-ic.com 2.6.9-42.0.10.ELsmp #1 SMP Fri Feb 16 
17:13:42 EST 2007
x86_64 x86_64 x86_64 GNU/Linux

$ gcc -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info
--enable-shared --enable-threads=posix --disable-checking --with-system-zlib
--enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk
--host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)

Note: I am not the administrator on this system, so I am unlikely to
be able to change any of these versions in the short term, but I note
that this combination is not listed in PLATFORMS.

Also, I have been successful in building parrot on Darwin, so
hopefully it isn't a user error :-)

Stephen Simmons

---
Summary of my parrot 0.7.0 (r30457) configuration:
   configdate='Fri Aug 22 20:48:53 2008 GMT'
   Platform:
     osname=linux, archname=x86_64-linux-thread-multi
     jitcapable=0, jitarchname=nojit,
     jitosname=linux, jitcpuarch=amd64
     execcapable=0
     perl=/usr/bin/perl
   Compiler:
     cc='gcc', ccflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING  -pipe 
-I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm 
-DHASATTRIBUTE_CONST
-DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL
-DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED
-DHASATTRIBUTE_WARN_UNUSED_RESULT  -falign-functions=16 -fvisibility=hidden
-maccumulate-outgoing-args -W -Wall -Waggregate-return -Wcast-align -Wcast-qual
-Wchar-subscripts -Wcomment -Wdisabled-optimization -Wendif-labels -Wextra 
-Wformat
-Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k 
-Wimplicit -Wimport
-Winit-self -Winline -Winvalid-pch -Wmissing-braces 
-Wno-missing-format-attribute -Wpacked
-Wparentheses -Wpointer-arith -Wreturn-type -Wsequence-point -Wno-shadow 
-Wsign-compare
-Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs 
-Wundef
-Wunknown-pragmas -Wno-unused -Wwrite-strings -Wbad-function-cast 
-Wdeclaration-after-statement
-Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wnonnull -DHAS_GETTEXT',
   Linker and Libraries:
     ld='gcc', ldflags='',
     cc_ldflags='',
     libs='-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lrt -lgmp 
-lreadline -lncurses
-lcrypto '
   Dynamic Linking:
     share_ext='.so', ld_share_flags='-shared -fPIC',
     load_ext='.so', ld_load_flags='-shared -fPIC'
   Types:
     iv=long, intvalsize=8, intsize=4, opcode_t=long, opcode_t_size=8,
     ptrsize=8, ptr_alignment=1 byteorder=12345678,
     nv=double, numvalsize=8, doublesize=8

---
Environment:
     HOME =/users/ssimmons
     LANG =en_US.UTF-8
     LANGUAGE  (unset)
     LD_LIBRARY_PATH
=/import/vnetest/swrep/packages/gcc-3.2.3/lib:/import/vnetest/swrep/releases/2003.6/lib:/import/vnetest/swrep/releases/2003.6/qt/lib:/import/vnetest/swrep/packages/gcc-3.2.3/lib:/import/vnetest/swrep/releases/2003.6/lib:/import/vnetest/swrep/releases/2003.6/qt/lib:
     LOGDIR  (unset)
     PATH
=/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/design/rtc/bin/util:/design/rtc/bin/jm:/design/rtc/bin/pdb:/design/rtc/bin/design:/design/rtc/bin/design/cadence:/design/rtc/bin/design/calibre:/usr/sepp/bin:/users/ssimmons/git/bin:/users/ssimmons/git/bin
     PERL5LIB =/design/rtc/bin/perl5
     SHELL =/bin/tcsh

Reply via email to