public inbox for ecos-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug 1001139] New: 'make tests' fails for linux synthetic target
@ 2011-02-02 22:18 bugzilla-daemon
2011-02-03 2:05 ` [Bug 1001139] " bugzilla-daemon
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: bugzilla-daemon @ 2011-02-02 22:18 UTC (permalink / raw)
To: ecos-bugs
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001139
Summary: 'make tests' fails for linux synthetic target
Product: eCos
Version: CVS
Platform: linux (Linux synthetic target)
OS/Version: HostOS: Linux
Status: UNCONFIRMED
Severity: major
Priority: low
Component: Other
AssignedTo: unassigned@bugs.ecos.sourceware.org
ReportedBy: mbergandi@gmail.com
CC: ecos-bugs@ecos.sourceware.org
Class: Advice Request
I wasn't sure what component to attach this bug to, so I chose other. Feel free
to move it to a more appropriate component, if this is not right.
In setting up the Linux synthetic target for doing some development, I decided
to build all of the ecos tests. Unfortunately, the build errored out with the
following:
$ make tests
...
make -r -C infra/current tests
make[1]: Entering directory `/home/mike/ecos-cvs/synthbuild/infra/current'
gcc -L/home/mike/ecos-cvs/synthbuild/install/lib -Ttarget.ld -o
/home/mike/ecos-cvs/synthbuild/install/tests/infra/current/tests/cxxsupp
tests/cxxsupp.o -g -nostdlib -Wl,-static -Wl,--fatal-warnings
/usr/lib/gcc/i486-linux-gnu/4.4.3/libsupc++.a(cp-demangle.o): In
function `.L644':
(.text+0x3317): undefined reference to `__sprintf_chk'
collect2: ld returned 1 exit status
make[1]: ***
[/home/mike/ecos-cvs/synthbuild/install/tests/infra/current/tests/cxxsupp]
Error 1
make[1]: Leaving directory `/home/mike/ecos-cvs/synthbuild/infra/current'
make: *** [tests] Error 2
The host OS is Ubuntu 10.04.1 LTS. The eCos source is from CVS and was updated
the day of this filing. Here is some other config info from my machine:
# uname -a
Linux mb-dev1 2.6.32-27-generic-pae #49-Ubuntu SMP Thu Dec 2 00:07:52
UTC 2010 i686 GNU/Linux
# gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
4.4.3-4ubuntu5'
--with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--enable-shared --enable-multiarch --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4
--program-suffix=-4.4 --enable-nls --enable-clocale=gnu
--enable-libstdcxx-debug --enable-plugin --enable-objc-gc
--enable-targets=all --disable-werror --with-arch-32=i486
--with-tune=generic --enable-checking=release --build=i486-linux-gnu
--host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
Someone else reported that building with gcc-4.3 works. I have not tested that
myself.
Mike
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 1001139] 'make tests' fails for linux synthetic target
2011-02-02 22:18 [Bug 1001139] New: 'make tests' fails for linux synthetic target bugzilla-daemon
@ 2011-02-03 2:05 ` bugzilla-daemon
2014-06-15 11:29 ` bugzilla-daemon
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2011-02-03 2:05 UTC (permalink / raw)
To: ecos-bugs
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001139
Mike Bergandi <mbergandi@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|low |normal
URL| |http://bugs.ecos.sourceware
| |.org/show_bug.cgi?id=100113
| |9
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 1001139] 'make tests' fails for linux synthetic target
2011-02-02 22:18 [Bug 1001139] New: 'make tests' fails for linux synthetic target bugzilla-daemon
2011-02-03 2:05 ` [Bug 1001139] " bugzilla-daemon
@ 2014-06-15 11:29 ` bugzilla-daemon
2014-07-03 8:19 ` bugzilla-daemon
2014-07-03 8:22 ` bugzilla-daemon
3 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2014-06-15 11:29 UTC (permalink / raw)
To: ecos-bugs
Please do not reply to this email, use the link below.
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001139
--- Comment #2 from John Dallaway <john@dallaway.org.uk> ---
Created attachment 2525
--> http://bugs.ecos.sourceware.org/attachment.cgi?id=2525&action=edit
__sprintf_chk-140615.patch
This patch indicates one possible route to satisfying the dependency on
__sprintf_chk() within libsupc++ provided by recent linux distributions built
with fortification. The alias need not be weak but it seems less invasive to
declare it as weak. Comments?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 1001139] 'make tests' fails for linux synthetic target
2011-02-02 22:18 [Bug 1001139] New: 'make tests' fails for linux synthetic target bugzilla-daemon
2011-02-03 2:05 ` [Bug 1001139] " bugzilla-daemon
2014-06-15 11:29 ` bugzilla-daemon
@ 2014-07-03 8:19 ` bugzilla-daemon
2014-07-03 8:22 ` bugzilla-daemon
3 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2014-07-03 8:19 UTC (permalink / raw)
To: ecos-bugs
Please do not reply to this email, use the link below.
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001139
John Dallaway <john@dallaway.org.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #2525|0 |1
is obsolete| |
Status|UNCONFIRMED |ASSIGNED
Assignee|unassigned@bugs.ecos.source |john@dallaway.org.uk
|ware.org |
Ever confirmed|0 |1
--- Comment #3 from John Dallaway <john@dallaway.org.uk> ---
Created attachment 2532
--> http://bugs.ecos.sourceware.org/attachment.cgi?id=2532&action=edit
__sprintf_chk-140703.patch
A modified patch to provide a non-weak alias. If something else is providing
__sprintf_chk() we should be made aware of it.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 1001139] 'make tests' fails for linux synthetic target
2011-02-02 22:18 [Bug 1001139] New: 'make tests' fails for linux synthetic target bugzilla-daemon
` (2 preceding siblings ...)
2014-07-03 8:19 ` bugzilla-daemon
@ 2014-07-03 8:22 ` bugzilla-daemon
3 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2014-07-03 8:22 UTC (permalink / raw)
To: ecos-bugs
Please do not reply to this email, use the link below.
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001139
John Dallaway <john@dallaway.org.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |CURRENTRELEASE
--- Comment #4 from John Dallaway <john@dallaway.org.uk> ---
Fix checked-in.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 1001139] New: 'make tests' fails for linux synthetic target
@ 2011-02-02 22:18 bugzilla-daemon
0 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2011-02-02 22:18 UTC (permalink / raw)
To: unassigned
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001139
Summary: 'make tests' fails for linux synthetic target
Product: eCos
Version: CVS
Platform: linux (Linux synthetic target)
OS/Version: HostOS: Linux
Status: UNCONFIRMED
Severity: major
Priority: low
Component: Other
AssignedTo: unassigned@bugs.ecos.sourceware.org
ReportedBy: mbergandi@gmail.com
CC: ecos-bugs@ecos.sourceware.org
Class: Advice Request
I wasn't sure what component to attach this bug to, so I chose other. Feel free
to move it to a more appropriate component, if this is not right.
In setting up the Linux synthetic target for doing some development, I decided
to build all of the ecos tests. Unfortunately, the build errored out with the
following:
$ make tests
...
make -r -C infra/current tests
make[1]: Entering directory `/home/mike/ecos-cvs/synthbuild/infra/current'
gcc -L/home/mike/ecos-cvs/synthbuild/install/lib -Ttarget.ld -o
/home/mike/ecos-cvs/synthbuild/install/tests/infra/current/tests/cxxsupp
tests/cxxsupp.o -g -nostdlib -Wl,-static -Wl,--fatal-warnings
/usr/lib/gcc/i486-linux-gnu/4.4.3/libsupc++.a(cp-demangle.o): In
function `.L644':
(.text+0x3317): undefined reference to `__sprintf_chk'
collect2: ld returned 1 exit status
make[1]: ***
[/home/mike/ecos-cvs/synthbuild/install/tests/infra/current/tests/cxxsupp]
Error 1
make[1]: Leaving directory `/home/mike/ecos-cvs/synthbuild/infra/current'
make: *** [tests] Error 2
The host OS is Ubuntu 10.04.1 LTS. The eCos source is from CVS and was updated
the day of this filing. Here is some other config info from my machine:
# uname -a
Linux mb-dev1 2.6.32-27-generic-pae #49-Ubuntu SMP Thu Dec 2 00:07:52
UTC 2010 i686 GNU/Linux
# gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
4.4.3-4ubuntu5'
--with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--enable-shared --enable-multiarch --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4
--program-suffix=-4.4 --enable-nls --enable-clocale=gnu
--enable-libstdcxx-debug --enable-plugin --enable-objc-gc
--enable-targets=all --disable-werror --with-arch-32=i486
--with-tune=generic --enable-checking=release --build=i486-linux-gnu
--host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
Someone else reported that building with gcc-4.3 works. I have not tested that
myself.
Mike
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-07-03 8:22 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-02 22:18 [Bug 1001139] New: 'make tests' fails for linux synthetic target bugzilla-daemon
2011-02-03 2:05 ` [Bug 1001139] " bugzilla-daemon
2014-06-15 11:29 ` bugzilla-daemon
2014-07-03 8:19 ` bugzilla-daemon
2014-07-03 8:22 ` bugzilla-daemon
2011-02-02 22:18 [Bug 1001139] New: " bugzilla-daemon
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).