This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ports/5216] glibc 2.7 compilation problem on alpha due to PTR_MANGLE and PTR_DEMANGLE


------- Additional Comments From greg dot chandler at wellsfargo dot com  2009-01-06 22:15 -------

I've been working to port a few things to mips/alpha/hppa, and I'm running into
this too. {specifically on the alpha}
I've applied the patch attached here and it fixed some of my issues, but still
get the attached build errors.  

I've looked at the header, but don't know what exactly the defines are messing
with.  Can I set a #define that will be a temporary work around for this so the
correct case will get __pointer_chk_guard into the mix?




make[3]: Entering directory `/build/glibc-2.7/elf'
make subdir=csu -C ../csu ..=../ objdir=/build/glibc-2.7/build-glibc-2.7 -f Make
                                                                        file -f
../elf/rtld-Rules rtld-all rtld-modules='rtld-check_fds.os rtld-errno.os       
                                                                  rtld-sysdep.os'
/build/glibc-2.7/build-glibc-2.7/libc.a(setjmp.o): In function `__sigsetjmp':
(.text+0x28): undefined reference to `__pointer_chk_guard'
/build/glibc-2.7/build-glibc-2.7/libc.a(exit.o): In function `exit':
/build/glibc-2.7/stdlib/exit.c:66: undefined reference to `__pointer_chk_guard'
/build/glibc-2.7/build-glibc-2.7/libc.a(cxa_atexit.o): In function `__cxa_atexit
                                                                        ':
/build/glibc-2.7/stdlib/cxa_atexit.c:43: undefined reference to `__pointer_chk_g
                                                                        uard'
/build/glibc-2.7/build-glibc-2.7/libc.a(gconv_db.o): In function `__gconv_releas
                                                                        e_step':
/build/glibc-2.7/iconv/gconv_db.c:220: undefined reference to `__pointer_chk_gua
                                                                        rd'
/build/glibc-2.7/build-glibc-2.7/libc.a(gconv_db.o): In function `increment_coun
                                                                        ter':
/build/glibc-2.7/iconv/gconv_db.c:398: undefined reference to `__pointer_chk_gua
                                                                        rd'
/build/glibc-2.7/build-glibc-2.7/libc.a(gconv_db.o):/build/glibc-2.7/iconv/gconv
                                                                       
_db.c:300: more undefined references to `__pointer_chk_guard' follow
collect2: ld returned 1 exit status
make[2]: *** [/build/glibc-2.7/build-glibc-2.7/elf/sln] Error 1
make subdir=dirent -C ../dirent ..=../ objdir=/build/glibc-2.7/build-glibc-2.7 -
                                                                        f
Makefile -f ../elf/rtld-Rules rtld-all rtld-modules='rtld-opendir.os rtld-clos 
                                                                       edir.os
rtld-readdir.os rtld-getdents.os'
make[2]: *** Waiting for unfinished jobs....
make[4]: Entering directory `/build/glibc-2.7/csu'
make[4]: Leaving directory `/build/glibc-2.7/csu'
make subdir=gmon -C ../gmon ..=../ objdir=/build/glibc-2.7/build-glibc-2.7 -f Ma
                                                                        kefile
-f ../elf/rtld-Rules rtld-all rtld-modules='rtld-profil.os rtld-prof-freq      
                                                                  .os'
make[4]: Entering directory `/build/glibc-2.7/dirent'
make subdir=gnulib -C ../gnulib ..=../ objdir=/build/glibc-2.7/build-glibc-2.7 -
                                                                        f
Makefile -f ../elf/rtld-Rules rtld-all rtld-modules='rtld-divl.os rtld-divq.os 
                                                                       
rtld-divqu.os rtld-remqu.os'
make[4]: Leaving directory `/build/glibc-2.7/dirent'
make[4]: Entering directory `/build/glibc-2.7/gmon'
make[4]: Entering directory `/build/glibc-2.7/csu'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/build/glibc-2.7/csu'
make subdir=io -C ../io ..=../ objdir=/build/glibc-2.7/build-glibc-2.7 -f Makefi
                                                                        le -f
../elf/rtld-Rules rtld-all rtld-modules='rtld-xstat.os rtld-fxstat.os rtld     
                                                                   -open.os
rtld-close.os rtld-read.os rtld-write.os rtld-access.os rtld-fcntl.os r        
                                                                tld-getcwd.os
rtld-readlink.os rtld-xstatconv.os rtld-lxstat.os rtld-have_o_cloe             
                                                           xec.os'
make[4]: Leaving directory `/build/glibc-2.7/gmon'
make[4]: Entering directory `/build/glibc-2.7/gnulib'
make[4]: Leaving directory `/build/glibc-2.7/gnulib'
make[4]: Entering directory `/build/glibc-2.7/dirent'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/build/glibc-2.7/dirent'
make subdir=misc -C ../misc ..=../ objdir=/build/glibc-2.7/build-glibc-2.7 -f Ma
                                                                        kefile
-f ../elf/rtld-Rules rtld-all rtld-modules='rtld-getpagesize.os rtld-mmap      
                                                                  .os
rtld-munmap.os rtld-mprotect.os rtld-llseek.os'
make[4]: Entering directory `/build/glibc-2.7/gmon'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/build/glibc-2.7/gmon'
make subdir=nptl -C ../nptl ..=../ objdir=/build/glibc-2.7/build-glibc-2.7 -f Ma
                                                                        kefile
-f ../elf/rtld-Rules rtld-all rtld-modules='rtld-libc-cancellation.os rtl      
                                                                 
d-libc_multiple_threads.os rtld-forward.os rtld-libc-lowlevellock.os'
make[4]: Entering directory `/build/glibc-2.7/io'
make[4]: Entering directory `/build/glibc-2.7/gnulib'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/build/glibc-2.7/gnulib'
make subdir=posix -C ../posix ..=../ objdir=/build/glibc-2.7/build-glibc-2.7 -f
                                                                        
Makefile -f ../elf/rtld-Rules rtld-all rtld-modules='rtld-uname.os rtld-_exit.os
                                                                        
rtld-getpid.os rtld-getuid.os rtld-geteuid.os rtld-getgid.os rtld-getegid.os rt
                                                                       
ld-environ.os'
make[4]: Leaving directory `/build/glibc-2.7/io'
make[4]: Entering directory `/build/glibc-2.7/misc'
make[4]: Leaving directory `/build/glibc-2.7/misc'
make[4]: Entering directory `/build/glibc-2.7/posix'
make[4]: Leaving directory `/build/glibc-2.7/posix'
make[4]: Entering directory `/build/glibc-2.7/io'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/build/glibc-2.7/io'
make subdir=setjmp -C ../setjmp ..=../ objdir=/build/glibc-2.7/build-glibc-2.7 -
                                                                        f
Makefile -f ../elf/rtld-Rules rtld-all rtld-modules='rtld-setjmp.os rtld-__lon 
                                                                       gjmp.os'
make[4]: Entering directory `/build/glibc-2.7/misc'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/build/glibc-2.7/misc'
make subdir=signal -C ../signal ..=../ objdir=/build/glibc-2.7/build-glibc-2.7 -
                                                                        f
Makefile -f ../elf/rtld-Rules rtld-all rtld-modules='rtld-sigaction.os rtld-rt 
                                                                      
_sigaction.os'
make[4]: Entering directory `/build/glibc-2.7/setjmp'
make[4]: Leaving directory `/build/glibc-2.7/setjmp'
make[4]: Entering directory `/build/glibc-2.7/nptl'
make[4]: Entering directory `/build/glibc-2.7/posix'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/build/glibc-2.7/posix'
make subdir=stdlib -C ../stdlib ..=../ objdir=/build/glibc-2.7/build-glibc-2.7 -
                                                                        f
Makefile -f ../elf/rtld-Rules rtld-all rtld-modules='rtld-exit.os rtld-cxa_ate 
                                                                       xit.os'
make[4]: Entering directory `/build/glibc-2.7/signal'
make[4]: Leaving directory `/build/glibc-2.7/signal'
make[4]: Leaving directory `/build/glibc-2.7/nptl'
make[4]: Entering directory `/build/glibc-2.7/setjmp'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/build/glibc-2.7/setjmp'
make subdir=string -C ../string ..=../ objdir=/build/glibc-2.7/build-glibc-2.7 -
                                                                        f
Makefile -f ../elf/rtld-Rules rtld-all rtld-modules='rtld-strchr.os rtld-strcm 
                                                                       p.os
rtld-strlen.os rtld-strnlen.os rtld-memchr.os rtld-memcmp.os rtld-memmove.o    
                                                                    s
rtld-memset.os rtld-mempcpy.os rtld-stpcpy.os rtld-memcpy.os rtld-wordcopy.os  
                                                                      
rtld-rawmemchr.os rtld-stxcpy.os rtld-strcpy.os'
make[4]: Entering directory `/build/glibc-2.7/stdlib'
make[4]: Entering directory `/build/glibc-2.7/string'
make[4]: Entering directory `/build/glibc-2.7/signal'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/build/glibc-2.7/signal'
make subdir=time -C ../time ..=../ objdir=/build/glibc-2.7/build-glibc-2.7 -f Ma
                                                                        kefile
-f ../elf/rtld-Rules rtld-all rtld-modules='rtld-setitimer.os'
make[4]: Leaving directory `/build/glibc-2.7/stdlib'
make[4]: Leaving directory `/build/glibc-2.7/string'
make[4]: Entering directory `/build/glibc-2.7/time'
make[4]: Leaving directory `/build/glibc-2.7/time'
make[4]: Entering directory `/build/glibc-2.7/stdlib'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/build/glibc-2.7/stdlib'
make[4]: Entering directory `/build/glibc-2.7/string'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/build/glibc-2.7/string'
make[4]: Entering directory `/build/glibc-2.7/time'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/build/glibc-2.7/time'
make[4]: Entering directory `/build/glibc-2.7/nptl'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/build/glibc-2.7/nptl'
make[3]: Leaving directory `/build/glibc-2.7/elf'
make[2]: Leaving directory `/build/glibc-2.7/elf'
make[1]: *** [elf/others] Error 2
make[1]: Leaving directory `/build/glibc-2.7'
make: *** [all] Error 2


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5216

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]