public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/51330] New: Compiling issue that seems specific to i586 with gcc 4.6
@ 2011-11-28 10:08 remy.garrigue at gmail dot com
  2011-11-28 10:25 ` [Bug target/51330] " pinskia at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: remy.garrigue at gmail dot com @ 2011-11-28 10:08 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51330

             Bug #: 51330
           Summary: Compiling issue that seems specific to i586 with gcc
                    4.6
    Classification: Unclassified
           Product: gcc
           Version: 4.6.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: remy.garrigue@gmail.com


I'm currently in charge of packaging some sources code, and I've an issue that
SEEMS to be related to gcc 4.6. Not sure thou, I'm not an expert either in the
code nor c/c++

You can find the packaging here:
https://build.opensuse.org/package/show?package=xtreemfs-1.2.3&project=home%3Axtreemfs

As you can see there, packaging for latest opensuse (12.1, factory,
tumbleweed), ubuntu 11.10 and fedora (15, 16) fails under i586 arch. Clic on
the red "failed" or the green "succeeded", then "download log file" and you'll
have the full log, with environment (and gcc) installation plus compilation. 

My point is, with gcc 4.5 older distro packaging is doing fine. With gcc 4.6,
latest one fails on i586. It may be something else, but this is as far as I can
diagnose.

I'm available to give a hand to set up an environment to reproduce my issue and
will be glad of any further information to solve my issue.

Regards,
Rémy


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

* [Bug target/51330] Compiling issue that seems specific to i586 with gcc 4.6
  2011-11-28 10:08 [Bug c/51330] New: Compiling issue that seems specific to i586 with gcc 4.6 remy.garrigue at gmail dot com
@ 2011-11-28 10:25 ` pinskia at gcc dot gnu.org
  2011-11-28 11:51 ` remy.garrigue at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-11-28 10:25 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51330

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |target

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-11-28 09:35:35 UTC ---
>share/google-breakpad/src/client/linux/handler/linux_thread.cc:251:3: error: expected primary-expression before 'struct'

Can you attach the preprocessed source?  

#define GET_DR(name, num)\
  name->dr##num = ptrace(PTRACE_PEEKUSER, pid,\
                         offsetof(struct user, u_debugreg[num]), NULL)
  GET_DR(regs, 0);


Where is struct user supposed to be defined?  This looks rather like a header
not being included correctly and not really GCC issue.


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

* [Bug target/51330] Compiling issue that seems specific to i586 with gcc 4.6
  2011-11-28 10:08 [Bug c/51330] New: Compiling issue that seems specific to i586 with gcc 4.6 remy.garrigue at gmail dot com
  2011-11-28 10:25 ` [Bug target/51330] " pinskia at gcc dot gnu.org
@ 2011-11-28 11:51 ` remy.garrigue at gmail dot com
  2011-11-28 12:06 ` redi at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: remy.garrigue at gmail dot com @ 2011-11-28 11:51 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51330

--- Comment #2 from Rémy <remy.garrigue at gmail dot com> 2011-11-28 10:38:53 UTC ---
Package source are available in the "source" panel here:
https://build.opensuse.org/package/files?package=xtreemfs-1.2.3&project=home%3Axtreemfs

The most accurate way to reproduce the build would be to install osc (opensuse
build service command line tools) and type the following
osc co home:xtreemfs xtreemfs-1.2.3  
cd home:xtreemfs/xtreemfs-1.2.3 
osc build openSUSE_12.1 i586 xtreemfs.spec

I spent a couple of hour again trying to fix that issue, adding #include
<sys/user.h> for example, nothing so far. I've no idea where struct user is
defined, but if x86_64 build work with the same source, why i586 wouldn't...
I'm at a lost here


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

* [Bug target/51330] Compiling issue that seems specific to i586 with gcc 4.6
  2011-11-28 10:08 [Bug c/51330] New: Compiling issue that seems specific to i586 with gcc 4.6 remy.garrigue at gmail dot com
  2011-11-28 10:25 ` [Bug target/51330] " pinskia at gcc dot gnu.org
  2011-11-28 11:51 ` remy.garrigue at gmail dot com
@ 2011-11-28 12:06 ` redi at gcc dot gnu.org
  2011-11-29  9:54 ` remy.garrigue at gmail dot com
  2012-01-10 15:13 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2011-11-28 12:06 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51330

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011-11-28
     Ever Confirmed|0                           |1

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-11-28 11:35:43 UTC ---
(In reply to comment #2)
> The most accurate way to reproduce the build would be to install osc (opensuse
> build service command line tools) and type the following
> osc co home:xtreemfs xtreemfs-1.2.3  
> cd home:xtreemfs/xtreemfs-1.2.3 
> osc build openSUSE_12.1 i586 xtreemfs.spec

GCC devs do not want to install new packages and download new files for every
bug report, please attach preprocessed source for the failing file.

http://gcc.gnu.org/bugs/


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

* [Bug target/51330] Compiling issue that seems specific to i586 with gcc 4.6
  2011-11-28 10:08 [Bug c/51330] New: Compiling issue that seems specific to i586 with gcc 4.6 remy.garrigue at gmail dot com
                   ` (2 preceding siblings ...)
  2011-11-28 12:06 ` redi at gcc dot gnu.org
@ 2011-11-29  9:54 ` remy.garrigue at gmail dot com
  2012-01-10 15:13 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: remy.garrigue at gmail dot com @ 2011-11-29  9:54 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51330

--- Comment #4 from Rémy <remy.garrigue at gmail dot com> 2011-11-29 09:38:52 UTC ---
I tried but I'm unable to produce the preprocessed files. So... well, I'll try
to package my stuff using gcc 4.5 later. Regarding 4.6, I can't afford to spend
more time on looking into the matter, so I guess we'll never know.

Sorry for the trouble.


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

* [Bug target/51330] Compiling issue that seems specific to i586 with gcc 4.6
  2011-11-28 10:08 [Bug c/51330] New: Compiling issue that seems specific to i586 with gcc 4.6 remy.garrigue at gmail dot com
                   ` (3 preceding siblings ...)
  2011-11-29  9:54 ` remy.garrigue at gmail dot com
@ 2012-01-10 15:13 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-10 15:13 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51330

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID

--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-10 15:13:34 UTC ---
Thus, invalid.


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

end of thread, other threads:[~2012-01-10 15:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-28 10:08 [Bug c/51330] New: Compiling issue that seems specific to i586 with gcc 4.6 remy.garrigue at gmail dot com
2011-11-28 10:25 ` [Bug target/51330] " pinskia at gcc dot gnu.org
2011-11-28 11:51 ` remy.garrigue at gmail dot com
2011-11-28 12:06 ` redi at gcc dot gnu.org
2011-11-29  9:54 ` remy.garrigue at gmail dot com
2012-01-10 15:13 ` rguenth at gcc dot gnu.org

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).