Launchpad has imported 12 comments from the remote bug at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41617.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2009-10-07T09:51:31+00:00 Matthias Klose wrote:

Seen with a lot of GNUstep applications:

gcc AppController.m -c \
              -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 
-DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -D_REENTRANT -fPIC -g -Wall -DDEBUG 
-fno-omit-frame-pointer -DGSWARN -DGSDIAGNOSE -Wno-import -O2 
-fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS 
-fgnu-runtime -fconstant-string-class=NSConstantString -I. 
-I/usr/local/include/GNUstep -I/usr/include/GNUstep \
               -o obj/AppController.m.o
In file included from Date.h:4,
                 from Event.h:3,
                 from AppointmentEditor.h:3,
                 from AppController.m:4:
/usr/include/ical.h:22:2: warning: #warning "#include <ical.h> is deprecated.  
Please #include <libical/ical.h> instead."
/tmp/ccdTn0Sv.s: Assembler messages:
/tmp/ccdTn0Sv.s:11021: Error: symbol `_OBJC_CLASS_AppController' is already 
defined
make[2]: *** [obj/AppController.m.o] Error 1

Reply at: https://bugs.launchpad.net/gcc/+bug/445308/comments/0

------------------------------------------------------------------------
On 2009-10-07T09:52:35+00:00 Matthias Klose wrote:

Created attachment 18735
preprocessed source

Reply at: https://bugs.launchpad.net/gcc/+bug/445308/comments/1

------------------------------------------------------------------------
On 2009-10-07T09:53:08+00:00 Matthias Klose wrote:

Created attachment 18736
assembler file

Reply at: https://bugs.launchpad.net/gcc/+bug/445308/comments/2

------------------------------------------------------------------------
On 2009-10-07T09:53:31+00:00 Matthias Klose wrote:

Created attachment 18737
preprocessed source

Reply at: https://bugs.launchpad.net/gcc/+bug/445308/comments/3

------------------------------------------------------------------------
On 2009-10-07T09:54:00+00:00 Matthias Klose wrote:

Created attachment 18738
assembler file

Reply at: https://bugs.launchpad.net/gcc/+bug/445308/comments/4

------------------------------------------------------------------------
On 2009-10-07T12:57:45+00:00 Jakub-gcc wrote:

This doesn't even compile, you forgot NXConstStr.h stuff.
When it is added, it compiles just fine, at least on x86_64-linux and 
i686-linux, no assembler errors.

Reply at: https://bugs.launchpad.net/gcc/+bug/445308/comments/6

------------------------------------------------------------------------
On 2009-10-07T15:15:42+00:00 Matthias Klose wrote:

Created attachment 18740
preprocessed source

regenerated with objc/NXConstStr.h included.

Reply at: https://bugs.launchpad.net/gcc/+bug/445308/comments/7

------------------------------------------------------------------------
On 2010-11-07T14:18:43+00:00 Iains wrote:

Is this still a problem?

I cannot reproduce this on i686-darwin9 on trunk or 4.5.2 with :

 ./gcc/xgcc -Bgcc ../tests/AppController_44.mi -c -fgnu-runtime -w

Reply at: https://bugs.launchpad.net/gcc/+bug/445308/comments/8

------------------------------------------------------------------------
On 2010-11-22T17:39:07+00:00 Nicola-gcc wrote:

Matthias,

it looks like this may be an "arm-linux-gnueabi"-specific problem ... it
does work for me (as for everyone else) on i686-pc-linux-gnu, but you're
clearly on arm-linux-gnueabi.

Can you produce a smaller testcase?  Does it happen with all Objective-C
classes?

Thanks

Reply at: https://bugs.launchpad.net/gcc/+bug/445308/comments/9

------------------------------------------------------------------------
On 2010-11-22T17:56:29+00:00 Matthias Klose wrote:

no, can't see this even with 4.4 now, on a system with binutils 2.21

Reply at: https://bugs.launchpad.net/gcc/+bug/445308/comments/10

------------------------------------------------------------------------
On 2010-11-22T17:58:44+00:00 Nicola-gcc wrote:

So, can I close the bug ?

Thanks

Reply at: https://bugs.launchpad.net/gcc/+bug/445308/comments/11

------------------------------------------------------------------------
On 2010-11-23T09:29:59+00:00 Matthias Klose wrote:

works on armv5 too, current 4.4 branch and binutils 2.20.1

Reply at: https://bugs.launchpad.net/gcc/+bug/445308/comments/12


** Changed in: gcc
       Status: New => Fix Released

** Changed in: gcc
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/445308

Title:
  [PR41617, 4.4/4.5 regression] ObjC: Error: symbol
  `_OBJC_CLASS_AppController' is already defined

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to