-
-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
cygwin, ubuntu fails to link dejagnu #2
Comments
dejagnu comes with no lib. just the header. so the header file was not included. strange. |
rurban
changed the title
cygwin fails to link dejagnu
cygwin, ubuntu fails to link dejagnu
Aug 1, 2018
rurban
added a commit
that referenced
this issue
Aug 1, 2018
probe for -fgnu89-inline and use it. See https://gcc.gnu.org/bugzilla//show_bug.cgi?id=63613 Fixes [GH #2]
rurban
added a commit
that referenced
this issue
Aug 1, 2018
probe for -fgnu89-inline and use it. See https://gcc.gnu.org/bugzilla//show_bug.cgi?id=63613 Fixes [GH #2] Add dejagnu to cygwin and ubuntu/travis. msys2 dejagnu is not picked up, macos not tested on travis.
rurban
added a commit
that referenced
this issue
Dec 2, 2018
ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f782e1db8b5 bp 0x7fffb a38ff70 sp 0x7fffba38ff50 T0) The signal is caused by a READ memory access. Hint: address points to the zero page. #0 0x7f782e1db8b4 in get_first_owned_object /home/rurban/Software/libredwg/src/dwg.c:748:34 #1 0x5048fb in output_BLOCK_HEADER /home/rurban/Software/libredwg/programs/dwg2SVG.c:211:9 #2 0x50453d in output_SVG /home/rurban/Software/libredwg/programs/dwg2SVG.c:252:3 #3 0x50453d in main /home/rurban/Software/libredwg/programs/dwg2SVG.c:361
rurban
added a commit
that referenced
this issue
Dec 2, 2018
ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f782e1db8b5 bp 0x7fffb a38ff70 sp 0x7fffba38ff50 T0) The signal is caused by a READ memory access. Hint: address points to the zero page. #0 0x7f782e1db8b4 in get_first_owned_object /home/rurban/Software/libredwg/src/dwg.c:748:34 #1 0x5048fb in output_BLOCK_HEADER /home/rurban/Software/libredwg/programs/dwg2SVG.c:211:9 #2 0x50453d in output_SVG /home/rurban/Software/libredwg/programs/dwg2SVG.c:252:3 #3 0x50453d in main /home/rurban/Software/libredwg/programs/dwg2SVG.c:361
rurban
added a commit
that referenced
this issue
Dec 2, 2018
ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f782e1db8b5 bp 0x7fffb a38ff70 sp 0x7fffba38ff50 T0) The signal is caused by a READ memory access. Hint: address points to the zero page. #0 0x7f782e1db8b4 in get_first_owned_object /home/rurban/Software/libredwg/src/dwg.c:748:34 #1 0x5048fb in output_BLOCK_HEADER /home/rurban/Software/libredwg/programs/dwg2SVG.c:211:9 #2 0x50453d in output_SVG /home/rurban/Software/libredwg/programs/dwg2SVG.c:252:3 #3 0x50453d in main /home/rurban/Software/libredwg/programs/dwg2SVG.c:361
rurban
added a commit
that referenced
this issue
Dec 2, 2018
ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f782e1db8b5 bp 0x7fffb a38ff70 sp 0x7fffba38ff50 T0) The signal is caused by a READ memory access. Hint: address points to the zero page. #0 0x7f782e1db8b4 in get_first_owned_object /home/rurban/Software/libredwg/src/dwg.c:748:34 #1 0x5048fb in output_BLOCK_HEADER /home/rurban/Software/libredwg/programs/dwg2SVG.c:211:9 #2 0x50453d in output_SVG /home/rurban/Software/libredwg/programs/dwg2SVG.c:252:3 #3 0x50453d in main /home/rurban/Software/libredwg/programs/dwg2SVG.c:361
This was referenced Jan 16, 2020
Closed
Closed
This was referenced Jul 18, 2020
rurban
added a commit
that referenced
this issue
Dec 18, 2020
eg. programs/dxf2dwg -y -v3 example_2000.dwg ERROR: This is a DWG, not a DXF file: ../td/example_2000.dwg READ ERROR 0x800 ../td/example_2000.dwg ================================================================= ==1678362==ERROR: LeakSanitizer: detected memory leaks Direct leak of 21 byte(s) in 1 object(s) allocated from: #0 0x7f55fa6e7667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667) #1 0x402eba in suffix ../../programs/suffix.inc:53 #2 0x4043d7 in main ../../programs/dxf2dwg.c:299
rurban
added a commit
that referenced
this issue
Dec 18, 2020
eg. programs/dxf2dwg -y -v3 example_2000.dwg ERROR: This is a DWG, not a DXF file: ../td/example_2000.dwg READ ERROR 0x800 ../td/example_2000.dwg ================================================================= ==1678362==ERROR: LeakSanitizer: detected memory leaks Direct leak of 21 byte(s) in 1 object(s) allocated from: #0 0x7f55fa6e7667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667) #1 0x402eba in suffix ../../programs/suffix.inc:53 #2 0x4043d7 in main ../../programs/dxf2dwg.c:299
rurban
added a commit
that referenced
this issue
Dec 18, 2020
eg. programs/dxf2dwg -y -v3 example_2000.dwg ERROR: This is a DWG, not a DXF file: ../td/example_2000.dwg READ ERROR 0x800 ../td/example_2000.dwg ================================================================= ==1678362==ERROR: LeakSanitizer: detected memory leaks Direct leak of 21 byte(s) in 1 object(s) allocated from: #0 0x7f55fa6e7667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667) #1 0x402eba in suffix ../../programs/suffix.inc:53 #2 0x4043d7 in main ../../programs/dxf2dwg.c:299
rurban
added a commit
that referenced
this issue
Dec 19, 2020
eg. programs/dxf2dwg -y -v3 example_2000.dwg ERROR: This is a DWG, not a DXF file: ../td/example_2000.dwg READ ERROR 0x800 ../td/example_2000.dwg ================================================================= ==1678362==ERROR: LeakSanitizer: detected memory leaks Direct leak of 21 byte(s) in 1 object(s) allocated from: #0 0x7f55fa6e7667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667) #1 0x402eba in suffix ../../programs/suffix.inc:53 #2 0x4043d7 in main ../../programs/dxf2dwg.c:299
This was referenced Jun 7, 2022
This was referenced Nov 30, 2022
This was referenced Nov 28, 2023
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
dejagnu itself is probed fine.
e.g. https://ci.appveyor.com/project/rurban/libredwg/build/0.4.25/job/cprh3drj2u830jnm#L2249
libtool: link: gcc -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-missing-field-initializers -Wno-cast-align -Wformat=2 -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wlogical-op -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wno-error=unused-variable -Wno-error=unused-parameter -Wno-error=unused-but-set-variable -Wno-error=missing-field-initializers -Wno-error=cast-align -g -o .libs/3dsolid.exe 3dsolid.o ../../src/.libs/libredwg.dll.a -L/usr/local/lib
See https://gcc.gnu.org/bugzilla//show_bug.cgi?id=63613
we need to add
-fgnu89-inline
The text was updated successfully, but these errors were encountered: