public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/63779] New: g++ 4.9 generates invalid object provoking a GOT relative relocation must reference a local symbol linker error on SunOS
@ 2014-11-08  9:21 richard at netbsd dot org
  2014-11-14 16:01 ` [Bug c++/63779] " ro at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: richard at netbsd dot org @ 2014-11-08  9:21 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63779

            Bug ID: 63779
           Summary: g++ 4.9 generates invalid object provoking a GOT
                    relative relocation must reference a local symbol
                    linker error on SunOS
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: richard at netbsd dot org

I'm getting with gcc4.9.2 the following link error using the illumos native
/usr/bin/ld building libxul from firefox 31:

>ld: fatal: relocation error: R_386_GOTOFF: file ../../../content/media/MediaDecoderReader.o: symbol
 mozilla::AudioQueueMemoryFunctor::MallocSizeOf(void const*): a GOT relative
relocation must reference a local symbol
>ld: fatal: relocation error: R_386_GOTOFF: file ../../../content/media/MediaDecoderReader.o: symbol mozilla::AudioQueueMemoryFunctor::MallocSizeOf(void const*): a GOT relative relocation must reference a local symbol
>collect2: error: ld returned 1 exit status
/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/config/rules.mk:883: recipe
for target 'libxul.so' failed

The following is the code section (from content/media/MediaDecoderReader.cpp)
(slightly modified to show code is identical):

class VideoQueueMemoryFunctor : public nsDequeFunctor {
public:
  VideoQueueMemoryFunctor() : mSize(0) {}

  MOZ_DEFINE_MALLOC_SIZE_OF(MallocSizeOf);

  virtual void* operator()(void* aObject) {
    const VideoData* v = static_cast<const VideoData*>(aObject);
    mSize += v->SizeOfIncludingThis(MallocSizeOf);
    return nullptr;
  }

  size_t mSize;
};


class AudioQueueMemoryFunctor : public nsDequeFunctor {
public:
  AudioQueueMemoryFunctor() : mSize(0) {}

  MOZ_DEFINE_MALLOC_SIZE_OF(MallocSizeOf);

  virtual void* operator()(void* aObject) {
    const AudioData* v = static_cast<const AudioData*>(aObject);
    mSize += v->SizeOfIncludingThis(MallocSizeOf);
    return nullptr;
  }

  size_t mSize;
};


where MOZ_DEFINE_MALLOC_SIZE_OF is defined as (in
xpcom/base/nsIMemoryReporter.idl):

#define MOZ_DEFINE_MALLOC_SIZE_OF(fn)                                         \
  static size_t fn(const void* aPtr)                                          \
  {                                                                           \
      MOZ_REPORT(aPtr);                                                       \
      return moz_malloc_size_of(aPtr);                                        \
  }

As one can see, the two classes are nearly identical.

but nm shows the following differences in the generated object :

richard@omnis:/home/richard/src/txul$ nm -C MediaDecoderReader.o.gcc49 |grep
MallocSizeOf
[161]    |         0|         0|NOTY |GLOB |0    |UNDEF 
|mozilla::AudioQueueMemoryFunctor::MallocSizeOf(const void*)
                              
[_ZN7mozilla23AudioQueueMemoryFunctor12MallocSizeOfEPKv]
[149]    |         0|        34|FUNC |WEAK |2    |90    
|mozilla::VideoQueueMemoryFunctor::MallocSizeOf(const void*)
                              
[_ZN7mozilla23VideoQueueMemoryFunctor12MallocSizeOfEPKv]

richard@omnis:/home/richard/src/txul$ nm -C MediaDecoderReader.o.gcc48 |grep
MallocSizeOf
[135]    |         0|        35|FUNC |WEAK |2    |87    
|mozilla::AudioQueueMemoryFunctor::MallocSizeOf(const void*)
                              
[_ZN7mozilla23AudioQueueMemoryFunctor12MallocSizeOfEPKv]
[132]    |         0|        35|FUNC |WEAK |2    |85    
|mozilla::VideoQueueMemoryFunctor::MallocSizeOf(const void*)
                              
[_ZN7mozilla23VideoQueueMemoryFunctor12MallocSizeOfEPKv]


or if you prefer gnm:
richard@omnis:/home/richard/src/txul$ gnm -C MediaDecoderReader.o.gcc49 |grep
MallocSizeOf
         U mozilla::AudioQueueMemoryFunctor::MallocSizeOf(void const*)
00000000 W mozilla::VideoQueueMemoryFunctor::MallocSizeOf(void const*)
richard@omnis:/home/richard/src/txul$ gnm -C MediaDecoderReader.o.gcc48 |grep
MallocSizeOf
00000000 W mozilla::AudioQueueMemoryFunctor::MallocSizeOf(void const*)
00000000 W mozilla::VideoQueueMemoryFunctor::MallocSizeOf(void const*)

I attach the .ii and .s temps for both gcc48 and gcc49

The primary build environment is on:
richard@omnis:/home/richard/src/txul$ uname -a
SunOS omnis 5.11 illumos-gate-c40eb28 i86pc i386 i86pc

and snippet from this pkgsrc trunk build with '-v':

Using built-in specs.
COLLECT_GCC=/opt/local/gcc49/bin/g++
Target: i386-sun-solaris2.11
Configured with: ../gcc-4.9.2/configure --enable-languages='c obj-c++ objc go
fortran c++' --enable-shared --enable-long-long
--with-local-prefix=/opt/local/gcc49 --enable-libssp --enable-threads=posix
--with-boot-ldflags='-static-libstdc++ -static-libgcc -Wl,-R/opt/local/lib '
--with-system-zlib --disable-nls --with-isl=/opt/local
--disable-isl-version-check --with-cloog=/opt/local --enable-__cxa_atexit
--with-gxx-include-dir=/opt/local/gcc49/include/c++/ --with-gnu-as
--with-as=/opt/local/bin/gas --without-gnu-ld --with-ld=/usr/bin/ld
--with-libiconv-prefix=/opt/local --prefix=/opt/local/gcc49
--build=i386-sun-solaris2.11 --host=i386-sun-solaris2.11
--infodir=/opt/local/gcc49/info --mandir=/opt/local/gcc49/man
Thread model: posix
gcc version 4.9.2 (GCC) 
COLLECT_GCC_OPTIONS='-m32' '-o' 'MediaDecoderReader.o' '-c' '-I'
'../../dist/stl_wrappers' '-I' '../../dist/system_wrappers' '-include'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/config/gcc_hidden.h' '-D'
'OS_POSIX=1' '-D' 'OS_SOLARIS=1' '-D' 'MOZILLA_INTERNAL_API' '-D'
'MOZ_GLUE_IN_PROGRAM' '-D' 'MOZILLA_INTERNAL_API' '-D' 'IMPL_LIBXUL' '-D'
'STATIC_EXPORTABLE_JS_API' '-D' 'NO_NSPR_10_SUPPORT' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/content/media' '-I' '.' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/ipc/chromium/src' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/ipc/glue' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/content/base/src' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/layout/generic' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/layout/xul' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/netwerk/base/src' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/build/ipc/ipdl/_ipdlheaders' '-I'
'../../dist/include' '-I' '/opt/local/include/nspr' '-I'
'/opt/local/include/nss/nss' '-I' '/opt/local/include/nss' '-I'
'/opt/local/include/nspr' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/build/dist/include' '-I'
'/opt/local/include/pixman-1' '-fPIC' '-D' '__EXTENSIONS__' '-I' '/usr/include'
'-I' '/opt/local/include' '-I' '/opt/local/include/nspr' '-I'
'/opt/local/include/nss/nss' '-I' '/opt/local/include/libdrm' '-I'
'/opt/local/include/freetype2' '-D' 'MOZILLA_CLIENT' '-include'
'../../mozilla-config.h' '-MD' '-MP' '-MF' '.deps/MediaDecoderReader.o.pp' '-D'
'__EXTENSIONS__' '-I' '/usr/include' '-I' '/opt/local/include' '-I'
'/opt/local/include/nspr' '-I' '/opt/local/include/nss/nss' '-I'
'/opt/local/include/libdrm' '-I' '/opt/local/include/freetype2' '-O2' '-I'
'/usr/include' '-I' '/opt/local/include' '-I' '/opt/local/include/nspr' '-I'
'/opt/local/include/nss/nss' '-I' '/opt/local/include/libdrm' '-I'
'/opt/local/include/freetype2' '-D' 'restrict=__restrict__'
'-fno-strict-aliasing' '-fno-rtti' '-fno-exceptions' '-fno-math-errno'
'-std=gnu++11' '-pthread' '-pipe' '-D' 'NDEBUG' '-D' 'TRIMMED' '-O2'
'-fno-omit-frame-pointer' '-D' '_REENTRANT' '-D' '_PTHREADS' '-I'
'/opt/local/include/gstreamer-1.0' '-I' '/opt/local/include/glib/glib-2.0' '-I'
'/opt/local/lib/glib-2.0/include' '-I' '/opt/local/include' '-save-temps' '-v'
'-shared-libgcc' '-mtune=generic' '-march=pentium4'
 /opt/local/gcc49/libexec/gcc/i386-sun-solaris2.11/4.9.2/cc1plus -E -quiet -v
-I ../../dist/stl_wrappers -I ../../dist/system_wrappers -I
/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/content/media -I . -I
/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/ipc/chromium/src -I
/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/ipc/glue -I
/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/content/base/src -I
/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/layout/generic -I
/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/layout/xul -I
/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/netwerk/base/src -I
/tmp/pkgsrc/devel/xulrunner31/work/build/ipc/ipdl/_ipdlheaders -I
../../dist/include -I /opt/local/include/nspr -I /opt/local/include/nss/nss -I
/opt/local/include/nss -I /opt/local/include/nspr -I
/tmp/pkgsrc/devel/xulrunner31/work/build/dist/include -I
/opt/local/include/pixman-1 -I /usr/include -I /opt/local/include -I
/opt/local/include/nspr -I /opt/local/include/nss/nss -I
/opt/local/include/libdrm -I /opt/local/include/freetype2 -I /usr/include -I
/opt/local/include -I /opt/local/include/nspr -I /opt/local/include/nss/nss -I
/opt/local/include/libdrm -I /opt/local/include/freetype2 -I /usr/include -I
/opt/local/include -I /opt/local/include/nspr -I /opt/local/include/nss/nss -I
/opt/local/include/libdrm -I /opt/local/include/freetype2 -I
/opt/local/include/gstreamer-1.0 -I /opt/local/include/glib/glib-2.0 -I
/opt/local/lib/glib-2.0/include -I /opt/local/include -MD MediaDecoderReader.d
-MF .deps/MediaDecoderReader.o.pp -MP -MQ MediaDecoderReader.o -D_REENTRANT
-D_PTHREADS -D OS_POSIX=1 -D OS_SOLARIS=1 -D MOZILLA_INTERNAL_API -D
MOZ_GLUE_IN_PROGRAM -D MOZILLA_INTERNAL_API -D IMPL_LIBXUL -D
STATIC_EXPORTABLE_JS_API -D NO_NSPR_10_SUPPORT -D __EXTENSIONS__ -D
MOZILLA_CLIENT -D __EXTENSIONS__ -D restrict=__restrict__ -D NDEBUG -D TRIMMED
-D _REENTRANT -D _PTHREADS -include
/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/config/gcc_hidden.h -include
../../mozilla-config.h
/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/content/media/MediaDecoderReader.cpp
-m32 -mtune=generic -march=pentium4 -std=gnu++11 -fPIC -fno-strict-aliasing
-fno-rtti -fno-exceptions -fno-math-errno -fno-omit-frame-pointer -O2 -O2
-fpch-preprocess -o MediaDecoderReader.ii
ignoring nonexistent directory
"/opt/local/gcc49/lib/gcc/i386-sun-solaris2.11/4.9.2/../../../../i386-sun-solaris2.11/include"
ignoring duplicate directory "/opt/local/include/nspr"
ignoring duplicate directory
"/tmp/pkgsrc/devel/xulrunner31/work/build/dist/include"
ignoring duplicate directory "/usr/include"
  as it is a non-system directory that duplicates a system directory
ignoring duplicate directory "/opt/local/include/nspr"
ignoring duplicate directory "/opt/local/include/nss/nss"
ignoring duplicate directory "/usr/include"
  as it is a non-system directory that duplicates a system directory
ignoring duplicate directory "/opt/local/include"
ignoring duplicate directory "/opt/local/include/nspr"
ignoring duplicate directory "/opt/local/include/nss/nss"
ignoring duplicate directory "/opt/local/include/libdrm"
ignoring duplicate directory "/opt/local/include/freetype2"
ignoring duplicate directory "/usr/include"
  as it is a non-system directory that duplicates a system directory
ignoring duplicate directory "/opt/local/include"
ignoring duplicate directory "/opt/local/include/nspr"
ignoring duplicate directory "/opt/local/include/nss/nss"
ignoring duplicate directory "/opt/local/include/libdrm"
ignoring duplicate directory "/opt/local/include/freetype2"
ignoring duplicate directory "/opt/local/include"
#include "..." search starts here:
#include <...> search starts here:
 ../../dist/stl_wrappers
 ../../dist/system_wrappers
 /tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/content/media
 .
 /tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/ipc/chromium/src
 /tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/ipc/glue
 /tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/content/base/src
 /tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/layout/generic
 /tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/layout/xul
 /tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/netwerk/base/src
 /tmp/pkgsrc/devel/xulrunner31/work/build/ipc/ipdl/_ipdlheaders
 ../../dist/include
 /opt/local/include/nspr
 /opt/local/include/nss/nss
 /opt/local/include/nss
 /opt/local/include/pixman-1
 /opt/local/include
 /opt/local/include/libdrm
 /opt/local/include/freetype2
 /opt/local/include/gstreamer-1.0
 /opt/local/include/glib/glib-2.0
 /opt/local/lib/glib-2.0/include
 /opt/local/gcc49/include/c++/
 /opt/local/gcc49/include/c++//i386-sun-solaris2.11
 /opt/local/gcc49/include/c++//backward
 /opt/local/gcc49/lib/gcc/i386-sun-solaris2.11/4.9.2/include
 /opt/local/gcc49/include
 /opt/local/gcc49/lib/gcc/i386-sun-solaris2.11/4.9.2/include-fixed
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-m32' '-o' 'MediaDecoderReader.o' '-c' '-I'
'../../dist/stl_wrappers' '-I' '../../dist/system_wrappers' '-include'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/config/gcc_hidden.h' '-D'
'OS_POSIX=1' '-D' 'OS_SOLARIS=1' '-D' 'MOZILLA_INTERNAL_API' '-D'
'MOZ_GLUE_IN_PROGRAM' '-D' 'MOZILLA_INTERNAL_API' '-D' 'IMPL_LIBXUL' '-D'
'STATIC_EXPORTABLE_JS_API' '-D' 'NO_NSPR_10_SUPPORT' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/content/media' '-I' '.' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/ipc/chromium/src' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/ipc/glue' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/content/base/src' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/layout/generic' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/layout/xul' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/netwerk/base/src' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/build/ipc/ipdl/_ipdlheaders' '-I'
'../../dist/include' '-I' '/opt/local/include/nspr' '-I'
'/opt/local/include/nss/nss' '-I' '/opt/local/include/nss' '-I'
'/opt/local/include/nspr' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/build/dist/include' '-I'
'/opt/local/include/pixman-1' '-fPIC' '-D' '__EXTENSIONS__' '-I' '/usr/include'
'-I' '/opt/local/include' '-I' '/opt/local/include/nspr' '-I'
'/opt/local/include/nss/nss' '-I' '/opt/local/include/libdrm' '-I'
'/opt/local/include/freetype2' '-D' 'MOZILLA_CLIENT' '-include'
'../../mozilla-config.h' '-MD' '-MP' '-MF' '.deps/MediaDecoderReader.o.pp' '-D'
'__EXTENSIONS__' '-I' '/usr/include' '-I' '/opt/local/include' '-I'
'/opt/local/include/nspr' '-I' '/opt/local/include/nss/nss' '-I'
'/opt/local/include/libdrm' '-I' '/opt/local/include/freetype2' '-O2' '-I'
'/usr/include' '-I' '/opt/local/include' '-I' '/opt/local/include/nspr' '-I'
'/opt/local/include/nss/nss' '-I' '/opt/local/include/libdrm' '-I'
'/opt/local/include/freetype2' '-D' 'restrict=__restrict__'
'-fno-strict-aliasing' '-fno-rtti' '-fno-exceptions' '-fno-math-errno'
'-std=gnu++11' '-pthread' '-pipe' '-D' 'NDEBUG' '-D' 'TRIMMED' '-O2'
'-fno-omit-frame-pointer' '-D' '_REENTRANT' '-D' '_PTHREADS' '-I'
'/opt/local/include/gstreamer-1.0' '-I' '/opt/local/include/glib/glib-2.0' '-I'
'/opt/local/lib/glib-2.0/include' '-I' '/opt/local/include' '-save-temps' '-v'
'-shared-libgcc' '-mtune=generic' '-march=pentium4'
 /opt/local/gcc49/libexec/gcc/i386-sun-solaris2.11/4.9.2/cc1plus -fpreprocessed
MediaDecoderReader.ii -quiet -dumpbase MediaDecoderReader.cpp -m32
-mtune=generic -march=pentium4 -auxbase-strip MediaDecoderReader.o -O2 -O2
-std=gnu++11 -version -fPIC -fno-strict-aliasing -fno-rtti -fno-exceptions
-fno-math-errno -fno-omit-frame-pointer -o MediaDecoderReader.s
GNU C++ (GCC) version 4.9.2 (i386-sun-solaris2.11)
    compiled by GNU C version 4.9.2, GMP version 6.0.0, MPFR version 3.1.2, MPC
version 1.0.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C++ (GCC) version 4.9.2 (i386-sun-solaris2.11)
    compiled by GNU C version 4.9.2, GMP version 6.0.0, MPFR version 3.1.2, MPC
version 1.0.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 807458cbdfc831b91931d4b02561fe00
COLLECT_GCC_OPTIONS='-m32' '-o' 'MediaDecoderReader.o' '-c' '-I'
'../../dist/stl_wrappers' '-I' '../../dist/system_wrappers' '-include'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/config/gcc_hidden.h' '-D'
'OS_POSIX=1' '-D' 'OS_SOLARIS=1' '-D' 'MOZILLA_INTERNAL_API' '-D'
'MOZ_GLUE_IN_PROGRAM' '-D' 'MOZILLA_INTERNAL_API' '-D' 'IMPL_LIBXUL' '-D'
'STATIC_EXPORTABLE_JS_API' '-D' 'NO_NSPR_10_SUPPORT' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/content/media' '-I' '.' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/ipc/chromium/src' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/ipc/glue' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/content/base/src' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/layout/generic' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/layout/xul' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/netwerk/base/src' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/build/ipc/ipdl/_ipdlheaders' '-I'
'../../dist/include' '-I' '/opt/local/include/nspr' '-I'
'/opt/local/include/nss/nss' '-I' '/opt/local/include/nss' '-I'
'/opt/local/include/nspr' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/build/dist/include' '-I'
'/opt/local/include/pixman-1' '-fPIC' '-D' '__EXTENSIONS__' '-I' '/usr/include'
'-I' '/opt/local/include' '-I' '/opt/local/include/nspr' '-I'
'/opt/local/include/nss/nss' '-I' '/opt/local/include/libdrm' '-I'
'/opt/local/include/freetype2' '-D' 'MOZILLA_CLIENT' '-include'
'../../mozilla-config.h' '-MD' '-MP' '-MF' '.deps/MediaDecoderReader.o.pp' '-D'
'__EXTENSIONS__' '-I' '/usr/include' '-I' '/opt/local/include' '-I'
'/opt/local/include/nspr' '-I' '/opt/local/include/nss/nss' '-I'
'/opt/local/include/libdrm' '-I' '/opt/local/include/freetype2' '-O2' '-I'
'/usr/include' '-I' '/opt/local/include' '-I' '/opt/local/include/nspr' '-I'
'/opt/local/include/nss/nss' '-I' '/opt/local/include/libdrm' '-I'
'/opt/local/include/freetype2' '-D' 'restrict=__restrict__'
'-fno-strict-aliasing' '-fno-rtti' '-fno-exceptions' '-fno-math-errno'
'-std=gnu++11' '-pthread' '-pipe' '-D' 'NDEBUG' '-D' 'TRIMMED' '-O2'
'-fno-omit-frame-pointer' '-D' '_REENTRANT' '-D' '_PTHREADS' '-I'
'/opt/local/include/gstreamer-1.0' '-I' '/opt/local/include/glib/glib-2.0' '-I'
'/opt/local/lib/glib-2.0/include' '-I' '/opt/local/include' '-save-temps' '-v'
'-shared-libgcc' '-mtune=generic' '-march=pentium4'
 /opt/local/bin/gas -v -I ../../dist/stl_wrappers -I ../../dist/system_wrappers
-I /tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/content/media -I . -I
/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/ipc/chromium/src -I
/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/ipc/glue -I
/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/content/base/src -I
/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/layout/generic -I
/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/layout/xul -I
/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/netwerk/base/src -I
/tmp/pkgsrc/devel/xulrunner31/work/build/ipc/ipdl/_ipdlheaders -I
../../dist/include -I /opt/local/include/nspr -I /opt/local/include/nss/nss -I
/opt/local/include/nss -I /opt/local/include/nspr -I
/tmp/pkgsrc/devel/xulrunner31/work/build/dist/include -I
/opt/local/include/pixman-1 -I /usr/include -I /opt/local/include -I
/opt/local/include/nspr -I /opt/local/include/nss/nss -I
/opt/local/include/libdrm -I /opt/local/include/freetype2 -I /usr/include -I
/opt/local/include -I /opt/local/include/nspr -I /opt/local/include/nss/nss -I
/opt/local/include/libdrm -I /opt/local/include/freetype2 -I /usr/include -I
/opt/local/include -I /opt/local/include/nspr -I /opt/local/include/nss/nss -I
/opt/local/include/libdrm -I /opt/local/include/freetype2 -I
/opt/local/include/gstreamer-1.0 -I /opt/local/include/glib/glib-2.0 -I
/opt/local/lib/glib-2.0/include -I /opt/local/include -V -Qy -s --32 -o
MediaDecoderReader.o MediaDecoderReader.s
GNU assembler version 2.24 (i386-sun-solaris2.11) using BFD version (GNU
Binutils)2.24
COMPILER_PATH=/opt/local/gcc49/libexec/gcc/i386-sun-solaris2.11/4.9.2/:/opt/local/gcc49/libexec/gcc/i386-sun-solaris2.11/4.9.2/:/opt/local/gcc49/libexec/gcc/i386-sun-solaris2.11/:/opt/local/gcc49/lib/gcc/i386-sun-solaris2.11/4.9.2/:/opt/local/gcc49/lib/gcc/i386-sun-solaris2.11/:/usr/ccs/bin/
LIBRARY_PATH=/opt/local/gcc49/lib/gcc/i386-sun-solaris2.11/4.9.2/:/opt/local/gcc49/lib/gcc/i386-sun-solaris2.11/4.9.2/../../../../i386-sun-solaris2.11/lib/:/opt/local/gcc49/lib/gcc/i386-sun-solaris2.11/4.9.2/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-m32' '-o' 'MediaDecoderReader.o' '-c' '-I'
'../../dist/stl_wrappers' '-I' '../../dist/system_wrappers' '-include'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/config/gcc_hidden.h' '-D'
'OS_POSIX=1' '-D' 'OS_SOLARIS=1' '-D' 'MOZILLA_INTERNAL_API' '-D'
'MOZ_GLUE_IN_PROGRAM' '-D' 'MOZILLA_INTERNAL_API' '-D' 'IMPL_LIBXUL' '-D'
'STATIC_EXPORTABLE_JS_API' '-D' 'NO_NSPR_10_SUPPORT' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/content/media' '-I' '.' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/ipc/chromium/src' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/ipc/glue' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/content/base/src' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/layout/generic' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/layout/xul' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/mozilla-esr31/netwerk/base/src' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/build/ipc/ipdl/_ipdlheaders' '-I'
'../../dist/include' '-I' '/opt/local/include/nspr' '-I'
'/opt/local/include/nss/nss' '-I' '/opt/local/include/nss' '-I'
'/opt/local/include/nspr' '-I'
'/tmp/pkgsrc/devel/xulrunner31/work/build/dist/include' '-I'
'/opt/local/include/pixman-1' '-fPIC' '-D' '__EXTENSIONS__' '-I' '/usr/include'
'-I' '/opt/local/include' '-I' '/opt/local/include/nspr' '-I'
'/opt/local/include/nss/nss' '-I' '/opt/local/include/libdrm' '-I'
'/opt/local/include/freetype2' '-D' 'MOZILLA_CLIENT' '-include'
'../../mozilla-config.h' '-MD' '-MP' '-MF' '.deps/MediaDecoderReader.o.pp' '-D'
'__EXTENSIONS__' '-I' '/usr/include' '-I' '/opt/local/include' '-I'
'/opt/local/include/nspr' '-I' '/opt/local/include/nss/nss' '-I'
'/opt/local/include/libdrm' '-I' '/opt/local/include/freetype2' '-O2' '-I'
'/usr/include' '-I' '/opt/local/include' '-I' '/opt/local/include/nspr' '-I'
'/opt/local/include/nss/nss' '-I' '/opt/local/include/libdrm' '-I'
'/opt/local/include/freetype2' '-D' 'restrict=__restrict__'
'-fno-strict-aliasing' '-fno-rtti' '-fno-exceptions' '-fno-math-errno'
'-std=gnu++11' '-pthread' '-pipe' '-D' 'NDEBUG' '-D' 'TRIMMED' '-O2'
'-fno-omit-frame-pointer' '-D' '_REENTRANT' '-D' '_PTHREADS' '-I'
'/opt/local/include/gstreamer-1.0' '-I' '/opt/local/include/glib/glib-2.0' '-I'
'/opt/local/lib/glib-2.0/include' '-I' '/opt/local/include' '-save-temps' '-v'
'-shared-libgcc' '-mtune=generic' '-march=pentium4'


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/63779] g++ 4.9 generates invalid object provoking a GOT relative relocation must reference a local symbol linker error on SunOS
  2014-11-08  9:21 [Bug c++/63779] New: g++ 4.9 generates invalid object provoking a GOT relative relocation must reference a local symbol linker error on SunOS richard at netbsd dot org
@ 2014-11-14 16:01 ` ro at gcc dot gnu.org
  2014-12-01 17:16 ` richard at netbsd dot org
  2015-01-03 20:13 ` vhaisman at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2014-11-14 16:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63779

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ro at gcc dot gnu.org

--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> ---
(In reply to Richard PALO from comment #0)

It would be far more useful to see the relocations ld is complaining about, not
just the symbols.

> I attach the .ii and .s temps for both gcc48 and gcc49

Unfortunately, you didn't.

  Rainer


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/63779] g++ 4.9 generates invalid object provoking a GOT relative relocation must reference a local symbol linker error on SunOS
  2014-11-08  9:21 [Bug c++/63779] New: g++ 4.9 generates invalid object provoking a GOT relative relocation must reference a local symbol linker error on SunOS richard at netbsd dot org
  2014-11-14 16:01 ` [Bug c++/63779] " ro at gcc dot gnu.org
@ 2014-12-01 17:16 ` richard at netbsd dot org
  2015-01-03 20:13 ` vhaisman at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: richard at netbsd dot org @ 2014-12-01 17:16 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63779

--- Comment #3 from Richard PALO <richard at netbsd dot org> ---
Well, apparently this was affecting many using gcc 4.9.x and a workaround was
given here https://bugzilla.mozilla.org/show_bug.cgi?id=999496

I tested it and now have (as with 4.8.x):
>richard@omnis:/tmp/pkgsrc/devel/xulrunner31/work/build/content/media$ nm -C MediaDecoderReader.o |grep MallocSizeOf
>[148]	|         0|        29|FUNC |WEAK |2    |90     |mozilla::AudioQueueMemoryFunctor::MallocSizeOf(const void*)
>						       [_ZN7mozilla23AudioQueueMemoryFunctor12MallocSizeOfEPKv]
>[145]	|         0|        29|FUNC |WEAK |2    |87     |mozilla::VideoQueueMemoryFunctor::MallocSizeOf(const void*)
>						       [_ZN7mozilla23VideoQueueMemoryFunctor12MallocSizeOfEPKv]

Is there any further information I can provide now to find this nasty problem?
>From gcc-bugs-return-469109-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 01 17:22:55 2014
Return-Path: <gcc-bugs-return-469109-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12655 invoked by alias); 1 Dec 2014 17:22:55 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 12630 invoked by uid 55); 1 Dec 2014 17:22:51 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug jit/63854] Fix memory leaks seen in JIT
Date: Mon, 01 Dec 2014 17:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: jit
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-63854-4-0QmB5IAyKu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63854-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63854-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-12/txt/msg00116.txt.bz2
Content-length: 966

https://gcc.gnu.org/bugzilla/show_bug.cgi?idc854

--- Comment #22 from dmalcolm at gcc dot gnu.org ---
Author: dmalcolm
Date: Mon Dec  1 17:22:19 2014
New Revision: 218231

URL: https://gcc.gnu.org/viewcvs?rev!8231&root=gcc&view=rev
Log:
PR jit/63854: Fix leak within jit-builtins.c

gcc/jit/ChangeLog:
    PR jit/63854
    * jit-builtins.c
    (gcc::jit::recording::builtins_manager::make_fn_type): Call the
    context's new_function_type method, rather than directly creating
    a function_type instance.
    * jit-recording.c
    (gcc::jit::recording::context::new_function_type): New method,
    adapted from part of...
    (gcc::jit::recording::context::new_function_ptr_type): ...this.
    Update to call new_function_type.
    * jit-recording.h
    (gcc::jit::recording::context::new_function_type): New method.

Modified:
    trunk/gcc/jit/ChangeLog
    trunk/gcc/jit/jit-builtins.c
    trunk/gcc/jit/jit-recording.c
    trunk/gcc/jit/jit-recording.h


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/63779] g++ 4.9 generates invalid object provoking a GOT relative relocation must reference a local symbol linker error on SunOS
  2014-11-08  9:21 [Bug c++/63779] New: g++ 4.9 generates invalid object provoking a GOT relative relocation must reference a local symbol linker error on SunOS richard at netbsd dot org
  2014-11-14 16:01 ` [Bug c++/63779] " ro at gcc dot gnu.org
  2014-12-01 17:16 ` richard at netbsd dot org
@ 2015-01-03 20:13 ` vhaisman at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: vhaisman at gmail dot com @ 2015-01-03 20:13 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63779

--- Comment #4 from Václav Zeman <vhaisman at gmail dot com> ---
I think I am experiencing same or similar issue with GCC 4.8.2 on Oracle
Solaris 11.2 Express (i386). This is a snippet from log4cplus build. Almost all
of these are related to __gthread* symbols but I also get some typeinfo symbols
there.

ld: fatal: relocation error: R_386_GOTOFF: file
src/.libs/liblog4cplus_la-global-init.o: symbol __gthread_active: a GOT
relative relocation must reference a local symbol
ld: fatal: relocation error: R_386_GOTOFF: file
src/.libs/liblog4cplus_la-global-init.o: symbol
__gthread_active_p()::__gthread_active_mutex: a GOT relative relocation must
reference a local symbol
>From gcc-bugs-return-472126-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jan 03 20:25:08 2015
Return-Path: <gcc-bugs-return-472126-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24485 invoked by alias); 3 Jan 2015 20:25:07 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 24459 invoked by uid 48); 3 Jan 2015 20:25:04 -0000
From: "vhaisman at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/63779] g++ 4.9 generates invalid object provoking a GOT relative relocation must reference a local symbol linker error on SunOS
Date: Sat, 03 Jan 2015 20:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.9.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vhaisman at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-63779-4-ItC4sOlqsB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63779-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63779-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-01/txt/msg00120.txt.bz2
Content-length: 241

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63779

--- Comment #5 from Václav Zeman <vhaisman at gmail dot com> ---
Created attachment 34369
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34369&action=edit
assembler source
>From gcc-bugs-return-472127-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jan 03 20:25:56 2015
Return-Path: <gcc-bugs-return-472127-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25254 invoked by alias); 3 Jan 2015 20:25:56 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 25221 invoked by uid 48); 3 Jan 2015 20:25:52 -0000
From: "vhaisman at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/63779] g++ 4.9 generates invalid object provoking a GOT relative relocation must reference a local symbol linker error on SunOS
Date: Sat, 03 Jan 2015 20:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.9.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vhaisman at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-63779-4-vFyQxImvEk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63779-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63779-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-01/txt/msg00121.txt.bz2
Content-length: 264

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63779

--- Comment #6 from Václav Zeman <vhaisman at gmail dot com> ---
Created attachment 34370
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34370&action=edit
preprocessed source for global-init.cxx
>From gcc-bugs-return-472128-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jan 03 20:26:22 2015
Return-Path: <gcc-bugs-return-472128-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25973 invoked by alias); 3 Jan 2015 20:26:22 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 25939 invoked by uid 48); 3 Jan 2015 20:26:19 -0000
From: "vhaisman at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/63779] g++ 4.9 generates invalid object provoking a GOT relative relocation must reference a local symbol linker error on SunOS
Date: Sat, 03 Jan 2015 20:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.9.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vhaisman at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-63779-4-E6TX96HOXA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63779-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63779-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-01/txt/msg00122.txt.bz2
Content-length: 242

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63779

--- Comment #7 from Václav Zeman <vhaisman at gmail dot com> ---
Created attachment 34371
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34371&action=edit
resulting .o file
>From gcc-bugs-return-472129-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jan 03 20:36:42 2015
Return-Path: <gcc-bugs-return-472129-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32160 invoked by alias); 3 Jan 2015 20:36:42 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 32123 invoked by uid 48); 3 Jan 2015 20:36:38 -0000
From: "ian_harvey at bigpond dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/63552] [OOP] Type-bound procedures rejected as actual argument to dummy procedure
Date: Sat, 03 Jan 2015 20:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ian_harvey at bigpond dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: janus at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-63552-4-5XQUmhTIME@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63552-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63552-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-01/txt/msg00123.txt.bz2
Content-length: 510

https://gcc.gnu.org/bugzilla/show_bug.cgi?idc552

Ian Harvey <ian_harvey at bigpond dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian_harvey at bigpond dot com

--- Comment #6 from Ian Harvey <ian_harvey at bigpond dot com> ---
Note that using a type bound procedure (versus a procedure component) as an
actual argument is an extension to Fortran 2008.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-03 20:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-08  9:21 [Bug c++/63779] New: g++ 4.9 generates invalid object provoking a GOT relative relocation must reference a local symbol linker error on SunOS richard at netbsd dot org
2014-11-14 16:01 ` [Bug c++/63779] " ro at gcc dot gnu.org
2014-12-01 17:16 ` richard at netbsd dot org
2015-01-03 20:13 ` vhaisman at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).