You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2016/09/27 07:16:06 UTC

[Issue 127139] New: Build broken on svl on some Linux 32-bit systems

https://bz.apache.org/ooo/show_bug.cgi?id=127139

          Issue ID: 127139
        Issue Type: DEFECT
           Summary: Build broken on svl on some Linux 32-bit systems
           Product: General
           Version: 4.1.2
          Hardware: All
                OS: Linux 32-bit
            Status: CONFIRMED
          Severity: Normal
          Priority: P5 (lowest)
         Component: code
          Assignee: issues@openoffice.apache.org
          Reporter: arielch@apache.org

trunk and branch AOO413 build is breaking in the buildbot bb_slave5_ubuntu,
system  is Ubuntu 14.04 32 bit

[ build LNK ] Library/passwordcontainer.uno.so

/usr/lib/i386-linux-gnu/libc_nonshared.a(stack_chk_fail_local.oS): In function
`__stack_chk_fail_local':
(.text+0x10): undefined reference to `__stack_chk_fail'
collect2: error: ld returned 1 exit status


Also reported on
http://mail-archives.apache.org/mod_mbox/openoffice-dev/201609.mbox/%3CCAO2mRzbLxruV7s%2BnKtetZQkotEdUpfZpew_8VPwDysZTTym6YQ%40mail.gmail.com%3E

System Linux Mint 17.1

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127139] Build broken on svl on some Linux 32-bit systems

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127139

--- Comment #1 from Ariel Constenla-Haile <ar...@apache.org> ---
Created attachment 85697
  --> https://bz.apache.org/ooo/attachment.cgi?id=85697&action=edit
trunk log from the buildbot

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127139] Build broken on svl on some Linux 32-bit systems

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127139

--- Comment #3 from SVN Robot <sv...@dev.null.org> ---
"arielch" committed SVN revision 1766467 into trunk:
i127139 - Work around broken toolchain

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127139] undefined reference to `__stack_chk_fail' breaks build on some Linux 32-bit systems

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127139

Ariel Constenla-Haile <ar...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.4

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127139] Build broken on svl on some Linux 32-bit systems

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127139

damjan@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |damjan@apache.org

--- Comment #6 from damjan@apache.org ---
With more modules ported to gbuild, the build on 32 bit Ubuntu 14.04 now also
breaks in (at least) main/embeddedobj and main/uui.

It's not clear to me why. I've found 2 workarounds:
* adding "-lc" to the linker command (but why isn't libc linked to by default?)
* adding "-fuse-ld=gold" to the linker command (but the gold and bfd linkers
are meant to be identical, differing only in performance and supported
platforms)

Also why do most gbuild modules link, and only a few fail :-( ?

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127139] Build broken on svl on some Linux 32-bit systems

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127139

--- Comment #5 from SVN Robot <sv...@dev.null.org> ---
"arielch" committed SVN revision 1766518 into branches/AOO414:
i127139 - Work around broken toolchain

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127139] undefined reference to `__stack_chk_fail' breaks build on some Linux 32-bit systems

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127139

--- Comment #8 from damjan@apache.org ---
I've added a workaround to gbuild for now, that should fix this on Linux, for
all gbuild modules. It doesn't leave me very happy, so I am leaving this issue
open.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127139] undefined reference to `__stack_chk_fail' breaks build on some Linux 32-bit systems

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127139

--- Comment #9 from Ariel Constenla-Haile <ar...@apache.org> ---
(In reply to damjan from comment #8)
> I've added a workaround to gbuild for now, that should fix this on Linux,
> for all gbuild modules. It doesn't leave me very happy, so I am leaving this
> issue open.

It would be interesting to compare the compiler and linker switches before and
after porting to gbuild, as the old dmake does not show this bug, it's only a
gbuild thing.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127139] Build broken on svl on some Linux 32-bit systems

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127139

Ariel Constenla-Haile <ar...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |4.1.4_release_blocker+

--- Comment #4 from Ariel Constenla-Haile <ar...@apache.org> ---
trunk build was successful
https://ci.apache.org/builders/openoffice-linux32-nightly/builds/429

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127139] Build broken on svl on some Linux 32-bit systems

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127139

--- Comment #2 from Ariel Constenla-Haile <ar...@apache.org> ---
Created attachment 85698
  --> https://bz.apache.org/ooo/attachment.cgi?id=85698&action=edit
branch AOO413 log from the build bot

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127139] undefined reference to `__stack_chk_fail' breaks build on some Linux 32-bit systems

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127139

damjan@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Build broken on svl on some |undefined reference to
                   |Linux 32-bit systems        |`__stack_chk_fail' breaks
                   |                            |build on some Linux 32-bit
                   |                            |systems

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127139] undefined reference to `__stack_chk_fail' breaks build on some Linux 32-bit systems

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127139

--- Comment #7 from SVN Robot <sv...@dev.null.org> ---
"damjan" committed SVN revision 1774848 into trunk:
#i127139# undefined reference to `__stack_chk_fail' breaks build on some
Linu...

-- 
You are receiving this mail because:
You are the assignee for the issue.

4.1.4_release_blocker granted: [Issue 127139] Build broken on svl on some Linux 32-bit systems

Posted by bu...@apache.org.
Ariel Constenla-Haile <ar...@apache.org> has granted	4.1.4_release_blocker:
Issue 127139: Build broken on svl on some Linux 32-bit systems
https://bz.apache.org/ooo/show_bug.cgi?id=127139



--- Comment #4 from Ariel Constenla-Haile <ar...@apache.org> ---
trunk build was successful
https://ci.apache.org/builders/openoffice-linux32-nightly/builds/429

[Issue 127139] undefined reference to `__stack_chk_fail' breaks build on some Linux 32-bit systems

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127139

Ariel Constenla-Haile <ar...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED

--- Comment #10 from Ariel Constenla-Haile <ar...@apache.org> ---
Though the real reason is still unknown, this is marked as release blocker, so
it has to be resolved as fixed.

-- 
You are receiving this mail because:
You are the assignee for the issue.