{"action":"closed","issue":{"url":"https://api.github.com/repos/adamgreen/gcc4mbed/issues/39","labels_url":"https://api.github.com/repos/adamgreen/gcc4mbed/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/adamgreen/gcc4mbed/issues/39/comments","events_url":"https://api.github.com/repos/adamgreen/gcc4mbed/issues/39/events","html_url":"https://github.com/adamgreen/gcc4mbed/issues/39","id":103531986,"number":39,"title":"Linker Warning: cannot find entry symbol Reset_Handler","user":{"login":"daniel-bub","id":12557187,"avatar_url":"https://avatars.githubusercontent.com/u/12557187?v=3","gravatar_id":"","url":"https://api.github.com/users/daniel-bub","html_url":"https://github.com/daniel-bub","followers_url":"https://api.github.com/users/daniel-bub/followers","following_url":"https://api.github.com/users/daniel-bub/following{/other_user}","gists_url":"https://api.github.com/users/daniel-bub/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-bub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-bub/subscriptions","organizations_url":"https://api.github.com/users/daniel-bub/orgs","repos_url":"https://api.github.com/users/daniel-bub/repos","events_url":"https://api.github.com/users/daniel-bub/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-bub/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-08-27T15:10:08Z","updated_at":"2015-08-31T07:42:34Z","closed_at":"2015-08-31T07:42:34Z","body":"Hi,\r\n\r\nI'm using gcc4mbed with my u-blox C027 device.\r\n\r\nWhen I compile in \"Release\" mode everything works fine, but I have issues compiling in \"Debugging\" mode.\r\nWhen linking I get the following error:\r\n```c:/gcc4mbed/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: warning: cannot find entry symbol Reset_Handler; defaulting to 00000000```\r\n\r\nI compile using a custom device configuration for the u-blox C027, which is based on the ```LPC1768-device.mk``` config:\r\n```\r\n# Copyright 2015 Adam Green (http://mbed.org/users/AdamGreen/)\r\n# Copyright 2015 Daniel Bub\r\n#\r\n# Licensed under the Apache License, Version 2.0 (the \"License\");\r\n# you may not use this file except in compliance with the License.\r\n# You may obtain a copy of the License at\r\n#\r\n#     http://www.apache.org/licenses/LICENSE-2.0\r\n#\r\n# Unless required by applicable law or agreed to in writing, software\r\n# distributed under the License is distributed on an \"AS IS\" BASIS,\r\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n# See the License for the specific language governing permissions and\r\n# limitations under the License.\r\n\r\n# Vendor/device for which the library should be built.\r\nMBED_DEVICE        := UBLOX_C027\r\nMBED_TARGET        := NXP_LPC17XX\r\nMBED_CLEAN         := $(MBED_DEVICE)-MBED-clean\r\n\r\n\r\n# Compiler flags which are specifc to this device.\r\nTARGETS_FOR_DEVICE := TARGET_LPC1768 TARGET_M3 TARGET_NXP TARGET_LPC176X TARGET_UBLOX_C027 TARGET_CORTEX_M\r\nGCC_DEFINES := $(patsubst %,-D%,$(TARGETS_FOR_DEVICE))\r\nGCC_DEFINES += -D__CORTEX_M3 -DARM_MATH_CM3\r\n\r\nC_FLAGS   := -mcpu=cortex-m3 -mthumb -mthumb-interwork\r\nASM_FLAGS := -mcpu=cortex-m3 -mthumb\r\nLD_FLAGS  := -mcpu=cortex-m3 -mthumb\r\n\r\n\r\n# Extra platform specific object files to link into file binary.\r\nDEVICE_OBJECTS :=\r\n\r\n\r\n# Version of MRI library to use for this device.\r\nDEVICE_MRI_LIB := $(GCC4MBED_DIR)/mri/libmri_mbed1768.a\r\n\r\n\r\n# Linker script to be used.  Indicates what code should be placed where in memory.\r\nLSCRIPT=$(GCC4MBED_DIR)/external/mbed/libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_ARM/LPC1768.ld\r\n\r\n\r\ninclude $(GCC4MBED_DIR)/build/device-common.mk\r\n```\r\n\r\nIs this a know issue and can it stop debug builds from running on the microcontroller?\r\nRight now I have issues getting the debugger to work using this toolchain.\r\n\r\nKind regards,\r\n\r\nDaniel"}}